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

Function setSceneNodeReceiveShadow

src/scene/index.ts:165–167  ·  view source on GitHub ↗
(handle: SceneNodeHandle, receive: boolean)

Source from the content-addressed store, hash-verified

163 * Set whether this node receives shadows.
164 */
165export function setSceneNodeReceiveShadow(handle: SceneNodeHandle, receive: boolean): void {
166 bloom_scene_set_receive_shadow(handle, receive ? 1 : 0);
167}
168
169/**
170 * Set the parent of a scene node. Pass 0 for no parent (root node).

Callers 4

placeNodeFunction · 0.90
setupWaterFunction · 0.90
setupThinGeometryFunction · 0.90
main.tsFile · 0.90

Calls 1

Tested by

no test coverage detected