Urho.Urho2D.TileMap2D Class

Tile map component.

See Also: TileMap2D

Syntax

public class TileMap2D : Component

Requirements

Namespace: Urho.Urho2D
Assembly: Urho (in Urho.dll)
Assembly Versions: 1.0.0.0

The members of Urho.Urho2D.TileMap2D are listed below.

See Also: Component

Public Constructors

Constructs a new instance of Urho.Urho2D.TileMap2D which is tied to the Application.CurrentContext.
Constructs a new instance of Urho.Urho2D.TileMap2D, given a raw pointer to an unmanaged object
Constructs a new instance of Urho.Urho2D.TileMap2D linked to a specific Context.

Protected Constructors

Empty constructor, chain to this constructor when you provide your own constructor that sets the handle field.

Public Properties

[read-only]
InfoTileMapInfo2D. Return information.
[read-only]
NumLayersUInt32. Return number of layers.
TmxFileTmxFile2D. Return tmx file. Or Set tmx file.
[read-only]
TmxFileAttrResourceRef. Return tile map file attribute.
[read-only]
override
TypeStringHash. Urho's type system type.
[read-only]
override
TypeNameString. Urho's low-level type name.
[read-only]
static
TypeNameStaticString. Urho's low-level type name, accessible as a static method.
[read-only]
static
TypeStaticStringHash. Urho's low-level type, accessible as a static method.

Public Methods

DrawDebugGeometry()
Add debug geometry to the debug renderer.
override
DrawDebugGeometry(DebugRenderer, Boolean)
Visualize the component as debug geometry.
GetLayer(UInt32) : TileMapLayer2D
Return tile map layer at index.
static
RegisterObject(Context)
Register object factory.
TileIndexToPosition(Int32, Int32) : Vector2
Convert tile index to position.