pub trait RectAreaLightGeometry {
// Required method
fn unit_normal(&self) -> [f32; 3];
}Expand description
Unit-length emission normal for a RectAreaLight.
Required Methods§
Sourcefn unit_normal(&self) -> [f32; 3]
fn unit_normal(&self) -> [f32; 3]
Unit-length emission direction.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".