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

Function setSceneNodeCastShadow

src/scene/index.ts:158–160  ·  view source on GitHub ↗
(handle: SceneNodeHandle, cast: boolean)

Source from the content-addressed store, hash-verified

156 * Set whether this node casts shadows.
157 */
158export function setSceneNodeCastShadow(handle: SceneNodeHandle, cast: boolean): void {
159 bloom_scene_set_cast_shadow(handle, cast ? 1 : 0);
160}
161
162/**
163 * Set whether this node receives shadows.

Callers 5

placeNodeFunction · 0.90
placeCubeFunction · 0.90
setupShadowTestFunction · 0.90
setupThinGeometryFunction · 0.90
main.tsFile · 0.90

Calls 1

Tested by

no test coverage detected