Struct godot_core::classes::rendering_server::LightParam
source · pub struct LightParam { /* private fields */ }
Implementations§
source§impl LightParam
impl LightParam
sourcepub const ENERGY: LightParam = _
pub const ENERGY: LightParam = _
Godot enumerator name: LIGHT_PARAM_ENERGY
sourcepub const INDIRECT_ENERGY: LightParam = _
pub const INDIRECT_ENERGY: LightParam = _
Godot enumerator name: LIGHT_PARAM_INDIRECT_ENERGY
sourcepub const VOLUMETRIC_FOG_ENERGY: LightParam = _
pub const VOLUMETRIC_FOG_ENERGY: LightParam = _
Godot enumerator name: LIGHT_PARAM_VOLUMETRIC_FOG_ENERGY
sourcepub const SPECULAR: LightParam = _
pub const SPECULAR: LightParam = _
Godot enumerator name: LIGHT_PARAM_SPECULAR
sourcepub const RANGE: LightParam = _
pub const RANGE: LightParam = _
Godot enumerator name: LIGHT_PARAM_RANGE
sourcepub const SIZE: LightParam = _
pub const SIZE: LightParam = _
Godot enumerator name: LIGHT_PARAM_SIZE
sourcepub const ATTENUATION: LightParam = _
pub const ATTENUATION: LightParam = _
Godot enumerator name: LIGHT_PARAM_ATTENUATION
sourcepub const SPOT_ANGLE: LightParam = _
pub const SPOT_ANGLE: LightParam = _
Godot enumerator name: LIGHT_PARAM_SPOT_ANGLE
sourcepub const SPOT_ATTENUATION: LightParam = _
pub const SPOT_ATTENUATION: LightParam = _
Godot enumerator name: LIGHT_PARAM_SPOT_ATTENUATION
sourcepub const SHADOW_MAX_DISTANCE: LightParam = _
pub const SHADOW_MAX_DISTANCE: LightParam = _
Godot enumerator name: LIGHT_PARAM_SHADOW_MAX_DISTANCE
sourcepub const SHADOW_SPLIT_1_OFFSET: LightParam = _
pub const SHADOW_SPLIT_1_OFFSET: LightParam = _
Godot enumerator name: LIGHT_PARAM_SHADOW_SPLIT_1_OFFSET
sourcepub const SHADOW_SPLIT_2_OFFSET: LightParam = _
pub const SHADOW_SPLIT_2_OFFSET: LightParam = _
Godot enumerator name: LIGHT_PARAM_SHADOW_SPLIT_2_OFFSET
sourcepub const SHADOW_SPLIT_3_OFFSET: LightParam = _
pub const SHADOW_SPLIT_3_OFFSET: LightParam = _
Godot enumerator name: LIGHT_PARAM_SHADOW_SPLIT_3_OFFSET
sourcepub const SHADOW_FADE_START: LightParam = _
pub const SHADOW_FADE_START: LightParam = _
Godot enumerator name: LIGHT_PARAM_SHADOW_FADE_START
sourcepub const SHADOW_NORMAL_BIAS: LightParam = _
pub const SHADOW_NORMAL_BIAS: LightParam = _
Godot enumerator name: LIGHT_PARAM_SHADOW_NORMAL_BIAS
sourcepub const SHADOW_BIAS: LightParam = _
pub const SHADOW_BIAS: LightParam = _
Godot enumerator name: LIGHT_PARAM_SHADOW_BIAS
sourcepub const SHADOW_PANCAKE_SIZE: LightParam = _
pub const SHADOW_PANCAKE_SIZE: LightParam = _
Godot enumerator name: LIGHT_PARAM_SHADOW_PANCAKE_SIZE
sourcepub const SHADOW_OPACITY: LightParam = _
pub const SHADOW_OPACITY: LightParam = _
Godot enumerator name: LIGHT_PARAM_SHADOW_OPACITY
sourcepub const SHADOW_BLUR: LightParam = _
pub const SHADOW_BLUR: LightParam = _
Godot enumerator name: LIGHT_PARAM_SHADOW_BLUR
sourcepub const TRANSMITTANCE_BIAS: LightParam = _
pub const TRANSMITTANCE_BIAS: LightParam = _
Godot enumerator name: LIGHT_PARAM_TRANSMITTANCE_BIAS
sourcepub const INTENSITY: LightParam = _
pub const INTENSITY: LightParam = _
Godot enumerator name: LIGHT_PARAM_INTENSITY
sourcepub const MAX: LightParam = _
pub const MAX: LightParam = _
Godot enumerator name: LIGHT_PARAM_MAX
Trait Implementations§
source§impl Clone for LightParam
impl Clone for LightParam
source§fn clone(&self) -> LightParam
fn clone(&self) -> LightParam
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for LightParam
impl Debug for LightParam
source§impl EngineEnum for LightParam
impl EngineEnum for LightParam
source§impl FromGodot for LightParam
impl FromGodot for LightParam
source§fn try_from_godot(via: Self::Via) -> Result<Self, ConvertError>
fn try_from_godot(via: Self::Via) -> Result<Self, ConvertError>
Err
on failure.source§fn from_godot(via: Self::Via) -> Self
fn from_godot(via: Self::Via) -> Self
source§fn try_from_variant(variant: &Variant) -> Result<Self, ConvertError>
fn try_from_variant(variant: &Variant) -> Result<Self, ConvertError>
Variant
], returning Err
on failure.source§fn from_variant(variant: &Variant) -> Self
fn from_variant(variant: &Variant) -> Self
Variant
]. Read moresource§impl GodotConvert for LightParam
impl GodotConvert for LightParam
source§impl Hash for LightParam
impl Hash for LightParam
source§impl IndexEnum for LightParam
impl IndexEnum for LightParam
source§impl PartialEq for LightParam
impl PartialEq for LightParam
source§fn eq(&self, other: &LightParam) -> bool
fn eq(&self, other: &LightParam) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl ToGodot for LightParam
impl ToGodot for LightParam
impl Copy for LightParam
impl Eq for LightParam
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 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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)