SkinnedModelRendererSetClip Method |
Set the currently playing animation clip.
Namespace:
GeonBit.ECS.Components.Graphics
Assembly:
GeonBit (in GeonBit.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax public void SetClip(
string identifier,
bool forceRestart = false,
bool inLoop = true,
float transitionTime = 0.5f
)
Parameters
- identifier
- Type: SystemString
The identifier of the animation clip. - forceRestart (Optional)
- Type: SystemBoolean
If false and already playing current animation, will not restart it. - inLoop (Optional)
- Type: SystemBoolean
If true, will play clip animation in loop. If false will play once and return to idle animation. - transitionTime (Optional)
- Type: SystemSingle
Will set animation transition time for current animation.
See Also