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

Function setDirectionalLight

src/models/index.ts:676–678  ·  view source on GitHub ↗
(direction: Vec3, color: Color, intensity: number)

Source from the content-addressed store, hash-verified

674}
675
676export function setDirectionalLight(direction: Vec3, color: Color, intensity: number): void {
677 bloom_set_directional_light(direction.x, direction.y, direction.z, color.r, color.g, color.b, intensity);
678}
679
680// EN-005 — Hillaire 2020 procedural sky.
681//

Callers 7

main.tsFile · 0.90
main.tsFile · 0.90
main.tsFile · 0.90
main.tsFile · 0.90
interactive.tsFile · 0.85
room.tsFile · 0.85
shadows.tsFile · 0.85

Calls 1

Tested by

no test coverage detected