Urho.Urho2D.AnimationSet2D Class

Spriter animation set, it includes one or more animations, for more information please refer to http://www.esotericsoftware.com and http://www.brashmonkey.com/spriter.htm.

See Also: AnimationSet2D

Syntax

public class AnimationSet2D : Resource

Requirements

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

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

See Also: Resource

Public Constructors

Constructs a new instance of Urho.Urho2D.AnimationSet2D which is tied to the Application.CurrentContext.
Constructs a new instance of Urho.Urho2D.AnimationSet2D, given a raw pointer to an unmanaged object
Constructs a new instance of Urho.Urho2D.AnimationSet2D 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]
NumAnimationsUInt32. Get number of animations.
[read-only]
SpriteSprite2D. Return sprite.
[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

override
BeginLoad(File) : Boolean
override
BeginLoad(MemoryBuffer) : Boolean
override
EndLoad() : Boolean
Finish resource loading. Always called from the main thread. Return true if successful.
GetAnimation(UInt32) : String
Return animation name.
GetSpriterFileSprite(Int32, Int32) : Sprite2D
Return spriter file sprite.
HasAnimation(String) : Boolean
Check has animation.
static
RegisterObject(Context)
Register object factory.