Urho.Animation Class

Skeletal animation resource.

See Also: Animation

Syntax

public class Animation : Resource

Requirements

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

The members of Urho.Animation are listed below.

See Also: Resource

Public Constructors

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

AnimationNameString. Return animation name. Or Set animation name.
[read-only]
AnimationNameHashStringHash. Return animation name hash.
LengthSingle. Return animation length. Or Set animation length.
[read-only]
NumTracksUInt32. Return number of animation tracks.
NumTriggersUInt32. Return number of animation trigger points. Or Resize trigger point vector.
[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

AddTrigger(Single, Boolean, Int32)
Add a trigger point.
AddTrigger(Single, Boolean, Single)
Add a trigger point.
AddTrigger(Single, Boolean, String)
Add a trigger point.
AddTrigger(Single, Boolean, Color)
Add a trigger point.
AddTrigger(Single, Boolean, IntRect)
Add a trigger point.
AddTrigger(Single, Boolean, IntVector2)
Add a trigger point.
AddTrigger(Single, Boolean, Matrix3x4)
Add a trigger point.
AddTrigger(Single, Boolean, Matrix4)
Add a trigger point.
AddTrigger(Single, Boolean, Quaternion)
Add a trigger point.
AddTrigger(Single, Boolean, Vector2)
Add a trigger point.
AddTrigger(Single, Boolean, Vector3)
Add a trigger point.
AddTrigger(Single, Boolean, Vector4)
Add a trigger point.
override
BeginLoad(File) : Boolean
override
BeginLoad(MemoryBuffer) : Boolean
Clone(String) : Animation
CreateTrack(String) : AnimationTrack*
Create and return a track by name. If track by same name already exists, returns the existing.
GetTrack(String) : AnimationTrack*
Return animation track by name.
GetTrack(StringHash) : AnimationTrack*
Return animation track by name hash.
GetTrigger(UInt32) : AnimationTriggerPoint*
Return a trigger point by index.
static
RegisterObject(Context)
Register object factory.
RemoveAllTracks()
Remove all tracks. This is unsafe if the animation is currently used in playback.
RemoveAllTriggers()
Remove all trigger points.
RemoveTrack(String) : Boolean
Remove a track by name. Return true if was found and removed successfully. This is unsafe if the animation is currently used in playback.
RemoveTrigger(UInt32)
Remove a trigger point by index.
override
Save(File) : Boolean
override
Save(MemoryBuffer) : Boolean