Enum amethyst_renderer::Light[][src]

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. Read more

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.

impl Component for Light
[src]

Associated storage type for this component.

impl<'a> PrefabData<'a> for Light
[src]

SystemData needed to perform the load

The result type returned by the load operation

Load the data for this prefab onto the given Entity Read more

Trigger asset loading for any sub assets. Read more

Auto Trait Implementations

impl Send for Light

impl Sync for Light