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

Function bloom_set_ambient_light

native/web/src/lib.rs:1280–1282  ·  view source on GitHub ↗
(r: f64, g: f64, b: f64, intensity: f64)

Source from the content-addressed store, hash-verified

1278
1279#[wasm_bindgen]
1280pub fn bloom_set_ambient_light(r: f64, g: f64, b: f64, intensity: f64) {
1281 engine().renderer.set_ambient_light(r, g, b, intensity);
1282}
1283
1284#[wasm_bindgen]
1285pub fn bloom_set_directional_light(dx: f64, dy: f64, dz: f64, r: f64, g: f64, b: f64, intensity: f64) {

Callers

nothing calls this directly

Calls 2

set_ambient_lightMethod · 0.80
engineFunction · 0.70

Tested by

no test coverage detected