Model
self:is_component_wireframe
ClientChecks whether the debug wireframe of a component on the model is enabled
Syntax
local result = self:is_component_wireframe(
component
)Parameters
| Type | Name | Description |
|---|---|---|
string | component | Path of the component to check |
Returns
| Type | Name | Description |
|---|---|---|
bool | result | true if the debug wireframe is enabled, false otherwise |
Examples
core.model.load("character", "models/character.glb")
local entity = core.model.create("character")
core.engine.print("info", "Wireframe:", entity:is_component_wireframe("Skeleton3D/Body"))