Struct three::light::HemisphereLightData
source · pub struct HemisphereLightData {
pub ground_color: Color,
pub sky_color: Color,
pub intensity: f32,
}
Expand description
Internal data for Hemisphere
lights.
Fields
ground_color: Color
The ground color of the light.
sky_color: Color
The sky color of the light.
intensity: f32
The intensity of the light.
Trait Implementations
sourceimpl Clone for HemisphereLightData
impl Clone for HemisphereLightData
sourcefn clone(&self) -> HemisphereLightData
fn clone(&self) -> HemisphereLightData
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 HemisphereLightData
impl Debug for HemisphereLightData
sourceimpl PartialEq<HemisphereLightData> for HemisphereLightData
impl PartialEq<HemisphereLightData> for HemisphereLightData
sourcefn eq(&self, other: &HemisphereLightData) -> bool
fn eq(&self, other: &HemisphereLightData) -> bool
impl Copy for HemisphereLightData
impl StructuralPartialEq for HemisphereLightData
Auto Trait Implementations
impl RefUnwindSafe for HemisphereLightData
impl Send for HemisphereLightData
impl Sync for HemisphereLightData
impl Unpin for HemisphereLightData
impl UnwindSafe for HemisphereLightData
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
.