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

Function bloom_set_fog

native/ios/src/lib.rs:2357–2362  ·  view source on GitHub ↗
(r: f64, g: f64, b: f64, density: f64, height_ref: f64, height_falloff: f64)

Source from the content-addressed store, hash-verified

2355
2356#[no_mangle]
2357pub extern "C" fn bloom_set_fog(r: f64, g: f64, b: f64, density: f64, height_ref: f64, height_falloff: f64) {
2358 let r_ = engine();
2359 r_.renderer.set_fog_color(r as f32, g as f32, b as f32);
2360 r_.renderer.set_fog_density(density as f32);
2361 r_.renderer.set_fog_height_falloff(height_ref as f32, height_falloff as f32);
2362}
2363
2364#[no_mangle]
2365pub extern "C" fn bloom_set_chromatic_aberration(strength: f64) {

Callers 1

setFogFunction · 0.50

Calls 4

set_fog_colorMethod · 0.80
set_fog_densityMethod · 0.80
engineFunction · 0.70

Tested by

no test coverage detected