Enum amethyst_renderer::light::Light
[−]
pub enum Light { Area, Directional(DirectionalLight), Point(PointLight), Spot(SpotLight), Sun(SunLight), }
A light source.
Variants
Area
An area light. FIXME: Missing implementation!
Directional(DirectionalLight)
A directional light.
Point(PointLight)
A point light.
Spot(SpotLight)
A spot light.
Sun(SunLight)
A sun light.
Trait Implementations
impl Clone for Light
[src]
fn clone(&self) -> Light
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 Debug for Light
[src]
impl PartialEq for Light
[src]
fn eq(&self, __arg_0: &Light) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Light) -> bool
This method tests for !=
.
impl From<DirectionalLight> for Light
[src]
fn from(dir: DirectionalLight) -> Self
Performs the conversion.
impl From<PointLight> for Light
[src]
fn from(pt: PointLight) -> Self
Performs the conversion.