natiny_model_get_visible
bool natiny_model_get_visible(NatinyModel model);
Whether the model is currently drawn by a pass.
Parameters
| Name | Type | Description |
|---|---|---|
model |
NatinyModel |
Model handle |
Returns
| Type | Description |
|---|---|
bool |
true when the model is visible |
Example
bool visible = natiny_model_get_visible(door);
Notes
- Set with natiny_model_set_visible. Models start visible.
- A destroyed or invalid handle reads as
false.