Urho.Urho2D.AnimatedSprite2D Class

Animated sprite component, it uses to play animation created by Spine (http://www.esotericsoftware.com) and Spriter (http://www.brashmonkey.com/).

See Also: AnimatedSprite2D

Syntax

public class AnimatedSprite2D : StaticSprite2D

Requirements

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

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

See Also: StaticSprite2D

Public Constructors

Constructs a new instance of Urho.Urho2D.AnimatedSprite2D which is tied to the Application.CurrentContext.
Constructs a new instance of Urho.Urho2D.AnimatedSprite2D, given a raw pointer to an unmanaged object
Constructs a new instance of Urho.Urho2D.AnimatedSprite2D 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]
AnimationString. Return animation name.
AnimationSetAnimationSet2D. Return animation. Or Set animation set.
[read-only]
AnimationSetAttrResourceRef. Return animation set attribute.
EntityString. Return entity name. Or Set entity name (skin name for spine, entity name for spriter).
LoopModeLoopMode2D. Return loop mode. Or Set loop mode.
SpeedSingle. Return speed. Or Set speed.
[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
OnSetEnabled()
Handle enabled/disabled state change.
static
RegisterObject(Context)
Register object factory.
SetAnimation(String, LoopMode2D)
Set animation by name and loop mode.
SetAnimationAttr(String)
Set animation by name.