natiny_animator_pause
void natiny_animator_pause(NatinyAnimator animator);
Stops the clock without moving the clip, so the model holds the pose it is in.
Parameters
| Name | Type | Description |
|---|---|---|
animator |
NatinyAnimator |
Animator handle from natiny_animator_create |
Example
natiny_animator_pause(hero_legs);
Notes
- Unlike
natiny_animator_stop, the time is kept. Callingnatiny_animator_playrestarts the clip; callnatiny_animator_seekafterward to restore the saved time.