Enum amethyst_renderer::light::Light []

pub enum Light {
    Area,
    Directional(DirectionalLight),
    Point(PointLight),
    Spot(SpotLight),
    Sun(SunLight),
}

A light source.

Variants

An area light. FIXME: Missing implementation!

A directional light.

A point light.

A spot light.

A sun light.

Trait Implementations

impl Clone for Light
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Light
[src]

Formats the value using the given formatter.

impl PartialEq for Light
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl From<DirectionalLight> for Light
[src]

Performs the conversion.

impl From<PointLight> for Light
[src]

Performs the conversion.

impl From<SpotLight> for Light
[src]

Performs the conversion.

impl From<SunLight> for Light
[src]

Performs the conversion.