natiny_animator_get_model
NatinyModel natiny_animator_get_model(NatinyAnimator animator);
Returns the model this animator plays on.
Parameters
| Name | Type | Description |
|---|---|---|
animator |
NatinyAnimator |
Animator handle from natiny_animator_create |
Returns
| Type | Description |
|---|---|
NatinyModel |
Model handle, or 0 for an invalid handle |
Example
NatinyModel model = natiny_animator_get_model(arms);
natiny_model_set_visible(model, false);