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

Function bloom_set_ambient_light

native/ios/src/lib.rs:1118–1120  ·  view source on GitHub ↗
(r: f64, g: f64, b: f64, intensity: f64)

Source from the content-addressed store, hash-verified

1116
1117#[no_mangle]
1118pub extern "C" fn bloom_set_ambient_light(r: f64, g: f64, b: f64, intensity: f64) {
1119 engine().renderer.set_ambient_light(r, g, b, intensity);
1120}
1121
1122#[no_mangle]
1123pub extern "C" fn bloom_set_directional_light(dx: f64, dy: f64, dz: f64, r: f64, g: f64, b: f64, intensity: f64) {

Callers 1

setAmbientLightFunction · 0.50

Calls 2

set_ambient_lightMethod · 0.80
engineFunction · 0.70

Tested by

no test coverage detected