natiny_animator_destroy

C
void natiny_animator_destroy(NatinyAnimator animator);

Destroys the animator and takes its layer out of the model's pose at once.

Parameters

Name Type Description
animator NatinyAnimator Animator handle from natiny_animator_create

Example

C
natiny_animator_destroy(wave_layer);

Notes

  • Destroying a model destroys its animators; this is only needed to drop a layer while the model remains alive.