#[repr(u32)]pub enum LightParam {
Show 16 variants
Energy = 0,
IndirectEnergy = 1,
Specular = 2,
Range = 3,
Attenuation = 4,
SpotAngle = 5,
SpotAttenuation = 6,
ContactShadowSize = 7,
ShadowMaxDistance = 8,
ShadowSplit1Offset = 9,
ShadowSplit2Offset = 10,
ShadowSplit3Offset = 11,
ShadowNormalBias = 12,
ShadowBias = 13,
ShadowBiasSplitScale = 14,
Max = 15,
}Variants§
Energy = 0
IndirectEnergy = 1
Specular = 2
Range = 3
Attenuation = 4
SpotAngle = 5
SpotAttenuation = 6
ContactShadowSize = 7
ShadowMaxDistance = 8
ShadowSplit1Offset = 9
ShadowSplit2Offset = 10
ShadowSplit3Offset = 11
ShadowNormalBias = 12
ShadowBias = 13
ShadowBiasSplitScale = 14
Max = 15
Trait Implementations§
Source§impl Clone for LightParam
impl Clone for LightParam
Source§fn clone(&self) -> LightParam
fn clone(&self) -> LightParam
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for LightParam
Source§impl Debug for LightParam
impl Debug for LightParam
impl Eq for LightParam
Source§impl Hash for LightParam
impl Hash for LightParam
Source§impl PartialEq for LightParam
impl PartialEq for LightParam
Source§fn eq(&self, other: &LightParam) -> bool
fn eq(&self, other: &LightParam) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for LightParam
Auto Trait Implementations§
impl Freeze for LightParam
impl RefUnwindSafe for LightParam
impl Send for LightParam
impl Sync for LightParam
impl Unpin for LightParam
impl UnsafeUnpin for LightParam
impl UnwindSafe for LightParam
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more