Struct amethyst_renderer::DirectionalLight
[−]
[src]
pub struct DirectionalLight { pub color: [f32; 4], pub direction: [f32; 3], }
A directional light source.
Fields
color: [f32; 4]
Color of the light.
direction: [f32; 3]
Direction that the light is pointing.
Trait Implementations
impl Clone for DirectionalLight
[src]
fn clone(&self) -> DirectionalLight
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Copy for DirectionalLight
[src]
impl Debug for DirectionalLight
[src]
impl Default for DirectionalLight
[src]
fn default() -> DirectionalLight
Returns the "default value" for a type. Read more
impl Component for DirectionalLight
[src]
type Storage = VecStorage<DirectionalLight>
Associated storage type for this component.