Summary
Sets the layer's current animation frame time. Every animation clip will be affected.
The computation is based on the animation clip with the highest weight.
As retrieving the AnimationClip from a playable is slow, avoid using this method in an update loop.
Syntax
public FlexMotionLayer SetFrameTime(int frame)
Parameters
Name |
Type |
Description |
frame |
int |
The layer's new elapsed frame count. |
Return Value
Type |
Description |
FlexMotionLayer |
The same instance of FlexMotionLayer , allowing chained method calls. |