Struct three::render::LightParam
source · pub struct LightParam {
pub projection: [[f32; 4]; 4],
pub pos: [f32; 4],
pub dir: [f32; 4],
pub focus: [f32; 4],
pub color: [f32; 4],
pub color_back: [f32; 4],
pub intensity: [f32; 4],
pub shadow_params: [i32; 4],
}
Fields
projection: [[f32; 4]; 4]
pos: [f32; 4]
dir: [f32; 4]
focus: [f32; 4]
color: [f32; 4]
color_back: [f32; 4]
intensity: [f32; 4]
shadow_params: [i32; 4]
Trait Implementations
sourceimpl Clone for LightParam
impl Clone for LightParam
sourcefn clone(&self) -> LightParam
fn clone(&self) -> LightParam
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for LightParam
impl Debug for LightParam
sourceimpl PartialEq<LightParam> for LightParam
impl PartialEq<LightParam> for LightParam
sourcefn eq(&self, other: &LightParam) -> bool
fn eq(&self, other: &LightParam) -> bool
sourceimpl Structure<(BaseType, ContainerType)> for LightParam
impl Structure<(BaseType, ContainerType)> for LightParam
impl Copy for LightParam
impl Pod for LightParam
impl StructuralPartialEq for LightParam
Auto Trait Implementations
impl RefUnwindSafe for LightParam
impl Send for LightParam
impl Sync for LightParam
impl Unpin for LightParam
impl UnwindSafe for LightParam
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T> Pointable for T
impl<T> Pointable for T
impl<T> SetParameter for T
impl<T> SetParameter for T
fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Resultwhere
T: Parameter<Self>,
fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Resultwhere
T: Parameter<Self>,
Sets
value
as a parameter of self
.