Sinespace Client
2023.2.17543
Client-side scripting for Sinespace
|
Public Member Functions | |
SAnimationState | GetState () |
Returns the SAnimationState for the default animation clip. More... | |
SAnimationState | GetState (string state) |
Returns the SAnimationState for the named animation clip. More... | |
void | Blend (string animation, float targetWeight=1.0F, float fadeLength=0.3F) |
void | CrossFade (string animation, float fadeLength=0.3F) |
SAnimationState | CrossFadeQueued (string animation, float fadeLength=0.3F, bool playNow=false) |
Returns a duplicated SAnimationState. This duplicate will self-destruct after it is finished playing. Referencing it after it has completed will result in an error. More... | |
int | GetClipCount () |
bool | IsPlaying (string animation) |
bool | Play () |
bool | Play (string animation) |
SAnimationState | PlayQueued (string animation, bool playNow=false) |
Returns a duplicated SAnimationState. This duplicate will self-destruct after it is finished playing. Referencing it after it has completed will result in an error. More... | |
void | Rewind (string animation) |
void | Sample () |
void | Stop () |
void | Stop (string animation) |
Properties | |
bool | Enabled [get, set] |
IDictionary< string, SAnimationState > | States [get] |
Properties inherited from ScriptClassComponent< Animation > | |
SGameObject | GameObject [get] |
Return the GameObject which component added. More... | |
void SineSpace.Scripting.Components.SAnimation.Blend | ( | string | animation, |
float | targetWeight = 1.0F , |
||
float | fadeLength = 0.3F |
||
) |
void SineSpace.Scripting.Components.SAnimation.CrossFade | ( | string | animation, |
float | fadeLength = 0.3F |
||
) |
SAnimationState SineSpace.Scripting.Components.SAnimation.CrossFadeQueued | ( | string | animation, |
float | fadeLength = 0.3F , |
||
bool | playNow = false |
||
) |
Returns a duplicated SAnimationState. This duplicate will self-destruct after it is finished playing. Referencing it after it has completed will result in an error.
int SineSpace.Scripting.Components.SAnimation.GetClipCount | ( | ) |
SAnimationState SineSpace.Scripting.Components.SAnimation.GetState | ( | ) |
Returns the SAnimationState for the default animation clip.
SAnimationState SineSpace.Scripting.Components.SAnimation.GetState | ( | string | state | ) |
Returns the SAnimationState for the named animation clip.
bool SineSpace.Scripting.Components.SAnimation.IsPlaying | ( | string | animation | ) |
bool SineSpace.Scripting.Components.SAnimation.Play | ( | ) |
bool SineSpace.Scripting.Components.SAnimation.Play | ( | string | animation | ) |
SAnimationState SineSpace.Scripting.Components.SAnimation.PlayQueued | ( | string | animation, |
bool | playNow = false |
||
) |
Returns a duplicated SAnimationState. This duplicate will self-destruct after it is finished playing. Referencing it after it has completed will result in an error.
void SineSpace.Scripting.Components.SAnimation.Rewind | ( | string | animation | ) |
void SineSpace.Scripting.Components.SAnimation.Sample | ( | ) |
void SineSpace.Scripting.Components.SAnimation.Stop | ( | ) |
void SineSpace.Scripting.Components.SAnimation.Stop | ( | string | animation | ) |
|
getset |
|
get |