LuaDocs/TerrainObject

From Data Realms Wiki

(Difference between revisions)
Jump to: navigation, search
LuaBot (Talk | contribs)
(TerrainObject - Automatically generated by LuaBot)

Latest revision as of 08:56, 15 May 2014

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