Urho.Urho2D.TmxFile2D Class

Tile map file.

See Also: TmxFile2D

Syntax

public class TmxFile2D : Resource

Requirements

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

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

See Also: Resource

Public Constructors

Constructs a new instance of Urho.Urho2D.TmxFile2D which is tied to the Application.CurrentContext.
Constructs a new instance of Urho.Urho2D.TmxFile2D, given a raw pointer to an unmanaged object
Constructs a new instance of Urho.Urho2D.TmxFile2D 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.
[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

AddLayer(UInt32, TmxLayer2D)
override
BeginLoad(File) : Boolean
override
BeginLoad(MemoryBuffer) : Boolean
override
EndLoad() : Boolean
Finish resource loading. Always called from the main thread. Return true if successful.
GetLayer(UInt32) : TmxLayer2D
Return layer at index.
GetTilePropertySet(Int32) : PropertySet2D
Return tile property set by gid, if not exist return 0.
GetTileSprite(Int32) : Sprite2D
Return tile sprite by gid, if not exist return 0.
static
RegisterObject(Context)
Register object factory.
SetInfo(Orientation2D, Int32, Int32, Single, Single) : Boolean