Axiom 3D Rendering Engine
AnimationState Class
NamespacesAxiom.AnimatingAnimationState
Represents the state of an animation and the weight of it's influence.
Declaration Syntax
C#Visual Basic
public class AnimationState : IControllerValue<float>, 
	IComparable
Public Class AnimationState _
	Implements IControllerValue(Of Single), IComparable
Members
All MembersConstructorsMethodsPropertiesFields



IconMemberDescription
AnimationState(String, AnimationStateSet, Single, Single, Single, Boolean)
Initializes a new instance of the AnimationState class

AnimationState(String, AnimationStateSet, Single, Single)
Initializes a new instance of the AnimationState class

AnimationState(AnimationStateSet, AnimationState)
The moral equivalent of a copy constructor

AddTime(Single)
Modifies the time position, adjusting for animation length.

animationName
Name of this animation track.

CompareTo(Object)

CopyFrom(AnimationState)
Copies the states from another animation state, preserving the animation name (unlike CopyTo) but copying everything else.

Equality(AnimationState, AnimationState)
Equals(Object) (Overrides Object.Equals(Object).)
Finalize()()()
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
GetHashCode()()()
Override GetHashCode.
(Overrides Object.GetHashCode()()().)
GetType()()()
Gets the Type of the current instance.
(Inherited from Object.)
Inequality(AnimationState, AnimationState)
inverseLength

isEnabled

IsEnabled
Gets/Sets whether this animation is enabled or not.

length

Length
Gets/Sets the total length of this animation (may be shorter than whole animation)

loop
Loop
MemberwiseClone()()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
Name
Gets the name of the animation to which this state applies

parent

Parent
Gets/Sets the animation state set owning this animation

time

Time
Gets/Sets the time position for this animation.

ToString()()()
Returns a String that represents the current Object.
(Inherited from Object.)
Value
Gets/Sets the value to be used in a ControllerFunction.

weight

Weight
Gets/Sets the weight (influence) of this animation

Remarks
Other classes can hold instances of this class to store the state of any animations they are using. This class implements the IControllerValue interface to enable automatic update of animation state through controllers.
Inheritance Hierarchy
Object
AnimationState

Assembly: Axiom (Module: Axiom) Version: 0.8.0.0 (0.8.0.0)