Struct dae_parser::AmbientLight
source · pub struct AmbientLight {
pub color: Box<[f32; 3]>,
}
Expand description
Describes an ambient light source.
Fields§
§color: Box<[f32; 3]>
Contains three floating-point numbers specifying the color of the light.
Implementations§
Trait Implementations§
source§impl Clone for AmbientLight
impl Clone for AmbientLight
source§fn clone(&self) -> AmbientLight
fn clone(&self) -> AmbientLight
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for AmbientLight
impl Debug for AmbientLight
source§impl From<AmbientLight> for LightKind
impl From<AmbientLight> for LightKind
source§fn from(v: AmbientLight) -> Self
fn from(v: AmbientLight) -> Self
Converts to this type from the input type.