LuaDocs/TerrainObject

From Data Realms Wiki

Revision as of 08:56, 15 May 2014 by LuaBot (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Contents

Parent: SceneObject

Concrete Class. A feature of the terrain, which includes foreground color layer, material layer and optional background layer.

Go back to Class Index


Properties

ClassName

The class name of this Entity.A string with the friendly-formatted type name of this object.


Functions

GetBitmapOffset

Gets the offset from teh position to the upper left corner of this' bitmaps.

Arguments:

  • None.

Return value:

A Vector describing the bitmap offset, in pixels.


GetBitmapWidth

Gets the width this' material bitmap.

Arguments:

  • None.

Return value:

Width of 'material' bitmap.


GetBitmapHeight

Gets the height this' material bitmap.

Arguments:

  • None.

Return value:

Height of 'material' bitmap.


Go back to Class Index

Personal tools