Struct three_d::renderer::light::AmbientLight [−][src]
pub struct AmbientLight {
pub color: Color,
pub intensity: f32,
pub environment: Option<Environment>,
}
Expand description
A light which shines equally on all parts of any surface.
Fields
color: Color
intensity: f32
environment: Option<Environment>
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for AmbientLight
impl !Send for AmbientLight
impl !Sync for AmbientLight
impl Unpin for AmbientLight
impl !UnwindSafe for AmbientLight
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more