natiny.model.get_visible

Lua
natiny.model.get_visible(model) -> visible

Whether the model is currently drawn by a pass.

Parameters

Name Type Description
model number Model handle

Returns

Type Description
boolean true when the model is visible

Example

Lua
local visible = natiny.model.get_visible(door)

Notes