SAnimationState
ClientTypes
Dans cette classeEnabled
Membres 8
| Propriété | Enabled | Is this Animation State enabled? |
| Propriété | Length | Returns the length of current animation. |
| Propriété | Name | Returns the name of current animation. |
| Propriété | NormalizedSpeed | Returns the normalized speed of current animation. |
| Propriété | NormalizedTime | Returns the normalized time of current animation. |
| Propriété | Speed | The playback speed of the animation. 1.0 is normal playback speed. |
| Propriété | Time | Returns the Time of current animation. |
| Propriété | Weight | Returns the Weight of current animation. |
Propriétés
Enabled
bool Enabled {get; set; }
Is this Animation State enabled?
Exemple
Lua
SAnimationState = Space.Host.ExecutingObject.Animation.GetState()
SAnimationState.Enabled = false
LengthLecture seule
float Length {get; }
Returns the length of current animation.
Exemple
Lua
SAnimationState = Space.Host.ExecutingObject.Animation.GetState()
length = SAnimationState.Length
NameLecture seule
string Name {get; }
Returns the name of current animation.
Exemple
Lua
SAnimationState = Space.Host.ExecutingObject.Animation.GetState()
name = SAnimationState.Name
NormalizedSpeed
float NormalizedSpeed {get; set; }
Returns the normalized speed of current animation.
Exemple
Lua
SAnimationState = Space.Host.ExecutingObject.Animation.GetState()
normalizedSpeed = SAnimationState.NormalizedSpeed
NormalizedTime
float NormalizedTime {get; set; }
Returns the normalized time of current animation.
Exemple
Lua
SAnimationState = Space.Host.ExecutingObject.Animation.GetState()
normalizedTime = SAnimationState.NormalizedTime
Speed
float Speed {get; set; }
The playback speed of the animation. 1.0 is normal playback speed.
Exemple
Lua
SAnimationState = Space.Host.ExecutingObject.Animation.GetState()
SAnimationState.Speed = 0.5
Time
float Time {get; set; }
Returns the Time of current animation.
Exemple
Lua
SAnimationState = Space.Host.ExecutingObject.Animation.GetState()
SAnimationState.Time = 0.5
Weight
float Weight {get; set; }
Returns the Weight of current animation.
Exemple
Lua
SAnimationState = Space.Host.ExecutingObject.Animation.GetState()
SAnimationState.Weight = 0.5



