Urho.ObjectAnimation Class

Object animation class, an object animation include one or more attribute animations and theirs wrap mode and speed for an Animatable object.

See Also: ObjectAnimation

Syntax

public class ObjectAnimation : Resource

Requirements

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

The members of Urho.ObjectAnimation are listed below.

See Also: Resource

Public Constructors

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

AddAttributeAnimation(String, ValueAnimation, WrapMode, Single)
Add attribute animation, attribute name can in following format: "attribute" or "#0/#1/attribute" or ""#0/#1/ #1/attribute.
override
BeginLoad(File) : Boolean
override
BeginLoad(MemoryBuffer) : Boolean
GetAttributeAnimation(String) : ValueAnimation
Return attribute animation by name.
GetAttributeAnimationInfo(String) : ValueAnimationInfo
Return attribute animation info by name.
GetAttributeAnimationSpeed(String) : Single
Return attribute animation speed by name.
GetAttributeAnimationWrapMode(String) : WrapMode
Return attribute animation wrap mode by name.
LoadXml(XmlElement) : Boolean
static
RegisterObject(Context)
Register object factory.
RemoveAttributeAnimation(String)
Remove attribute animation, attribute name can in following format: "attribute" or "#0/#1/attribute" or ""#0/#1/ #1/attribute.
RemoveAttributeAnimation(ValueAnimation)
Remove attribute animation.
override
Save(File) : Boolean
override
Save(MemoryBuffer) : Boolean
SaveXml(XmlElement) : Boolean
SubscribeToAttributeAnimationAdded(Action<AttributeAnimationAddedEventArgs>) : Subscription
Subscribes to the AttributeAnimationAdded event raised by the ObjectAnimation.
SubscribeToAttributeAnimationRemoved(Action<AttributeAnimationRemovedEventArgs>) : Subscription
Subscribes to the AttributeAnimationRemoved event raised by the ObjectAnimation.

Public Events