All pages
Powered by GitBook
1 of 1

Loading...

SAnimationState

Index

Properties Index

Property Name

Properties

Enabled

bool Enabled get set

Is this Animation State enabled?

Length

float Length get

Returns the length of current animation.

Name

string Name get

Returns the name of current animation.

NormalizedSpeed

float NormalizedSpeed get set

Returns the normalized speed of current animation.

NormalizedTime

float NormalizedTime get set

Returns the normalized time of current animation.

Speed

float Speed get set

The playback speed of the animation. 1.0 is normal playback speed.

Time

float Time get set

Returns the Time of current animation.

Weight

float Weight get set

Returns the Weight of current animation.

bool Enabled get set

float Length get

string Name get

float NormalizedSpeed get set

float NormalizedTime get set

float Speed get set

float Time get set

float Weight get set

SAnimationState = Space.Host.ExecutingObject.Animation.GetState()
SAnimationState.Enabled = false
SAnimationState = Space.Host.ExecutingObject.Animation.GetState()
length = SAnimationState.Length
SAnimationState = Space.Host.ExecutingObject.Animation.GetState()
name = SAnimationState.Name
SAnimationState = Space.Host.ExecutingObject.Animation.GetState()
normalizedSpeed = SAnimationState.NormalizedSpeed
SAnimationState = Space.Host.ExecutingObject.Animation.GetState()
normalizedTime = SAnimationState.NormalizedTime
SAnimationState = Space.Host.ExecutingObject.Animation.GetState()
SAnimationState.Speed = 0.5
SAnimationState = Space.Host.ExecutingObject.Animation.GetState()
SAnimationState.Time = 0.5
SAnimationState = Space.Host.ExecutingObject.Animation.GetState()
SAnimationState.Weight = 0.5