natiny_animator_destroy
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
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.