MCPcopy Create free account
hub / github.com/Bloom-Engine/engine / setSceneNodeVisible

Function setSceneNodeVisible

src/scene/index.ts:151–153  ·  view source on GitHub ↗
(handle: SceneNodeHandle, visible: boolean)

Source from the content-addressed store, hash-verified

149 * Set visibility of a scene node.
150 */
151export function setSceneNodeVisible(handle: SceneNodeHandle, visible: boolean): void {
152 bloom_scene_set_visible(handle, visible ? 1 : 0);
153}
154
155/**
156 * Set whether this node casts shadows.

Callers 5

spawnTerrainFunction · 0.90
spawnModelEntityFunction · 0.90
spawnPrefabEntityFunction · 0.90
room.tsFile · 0.90
main.tsFile · 0.90

Calls 1

bloom_scene_set_visibleFunction · 0.50

Tested by

no test coverage detected