natiny_animator_pause

C
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

C
natiny_animator_pause(hero_legs);

Notes

  • Unlike natiny_animator_stop, the time is kept. Calling natiny_animator_play restarts the clip; call natiny_animator_seek afterward to restore the saved time.