Skip to main content

RectAreaLightGeometry

Trait RectAreaLightGeometry 

Source
pub trait RectAreaLightGeometry {
    // Required method
    fn unit_normal(&self) -> [f32; 3];
}
Expand description

Unit-length emission normal for a RectAreaLight.

Required Methods§

Source

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".

Implementors§