Struct dae_parser::DirectionalLight [−][src]
Expand description
Describes a directional light source.
The light’s default direction vector in local coordinates is [0,0,-1], pointing down the negative z axis. The actual direction of the light is defined by the transform of the node where the light is instantiated.
Fields
color: Box<[f32; 3]>
Contains three floating-point numbers specifying the color of the light.
Implementations
Trait Implementations
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for DirectionalLight
impl Send for DirectionalLight
impl Sync for DirectionalLight
impl Unpin for DirectionalLight
impl UnwindSafe for DirectionalLight
Blanket Implementations
Mutably borrows from an owned value. Read more