Struct amethyst_renderer::DirectionalLight
[−]
[src]
#[repr(C)]pub struct DirectionalLight { pub color: Rgba, pub direction: [f32; 3], }
A directional light source.
Fields
color: Rgba
Color of the light in RGBA8 format.
direction: [f32; 3]
Direction that the light is pointing.
Trait Implementations
impl Clone for DirectionalLight
[src]
fn clone(&self) -> DirectionalLight
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Pod for DirectionalLight
[src]
impl Structure<ConstFormat> for DirectionalLight
[src]
fn query(field_name: &str) -> Option<Element<ConstFormat>>
[src]
Get the layout of an element by name.
impl Debug for DirectionalLight
[src]
impl PartialEq for DirectionalLight
[src]
fn eq(&self, __arg_0: &DirectionalLight) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &DirectionalLight) -> bool
[src]
This method tests for !=
.