Struct amethyst_renderer::DirectionalLight [] [src]

pub struct DirectionalLight {
    pub color: [f32; 4],
    pub direction: [f32; 3],
}

A directional light source.

Fields

Color of the light.

Direction that the light is pointing.

Trait Implementations

impl Clone for DirectionalLight
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for DirectionalLight
[src]

impl Debug for DirectionalLight
[src]

Formats the value using the given formatter.

impl Default for DirectionalLight
[src]

Returns the "default value" for a type. Read more

impl Component for DirectionalLight
[src]

Associated storage type for this component.