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

Function setSceneNodePbr

src/scene/index.ts:216–218  ·  view source on GitHub ↗
(handle: SceneNodeHandle, roughness: number, metalness: number)

Source from the content-addressed store, hash-verified

214 * Set PBR material properties (roughness and metalness).
215 */
216export function setSceneNodePbr(handle: SceneNodeHandle, roughness: number, metalness: number): void {
217 bloom_scene_set_material_pbr(handle, roughness, metalness);
218}
219
220/**
221 * Set the texture for a scene node's material.

Callers 13

main.tsFile · 0.90
interactive.tsFile · 0.90
wallSystemFunction · 0.90
slabSystemFunction · 0.90
wallSystemFunction · 0.90
main.tsFile · 0.90
shadows.tsFile · 0.90
makeWallFunction · 0.90
makeBoxFunction · 0.90
placeSphereFunction · 0.90
placeCubeFunction · 0.90
setupThinGeometryFunction · 0.90

Calls 1

Tested by

no test coverage detected