pub struct EnvDiffuseProbe {
pub sh_r: [f32; 9],
pub sh_g: [f32; 9],
pub sh_b: [f32; 9],
pub intensity: f32,
pub enabled: bool,
}Expand description
SH irradiance probe.
Fields§
§sh_r: [f32; 9]9 SH coefficients per RGB channel.
sh_g: [f32; 9]§sh_b: [f32; 9]§intensity: f32§enabled: boolTrait Implementations§
Source§impl Clone for EnvDiffuseProbe
impl Clone for EnvDiffuseProbe
Source§fn clone(&self) -> EnvDiffuseProbe
fn clone(&self) -> EnvDiffuseProbe
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for EnvDiffuseProbe
impl Debug for EnvDiffuseProbe
Source§impl Default for EnvDiffuseProbe
impl Default for EnvDiffuseProbe
Source§impl PartialEq for EnvDiffuseProbe
impl PartialEq for EnvDiffuseProbe
impl StructuralPartialEq for EnvDiffuseProbe
Auto Trait Implementations§
impl Freeze for EnvDiffuseProbe
impl RefUnwindSafe for EnvDiffuseProbe
impl Send for EnvDiffuseProbe
impl Sync for EnvDiffuseProbe
impl Unpin for EnvDiffuseProbe
impl UnsafeUnpin for EnvDiffuseProbe
impl UnwindSafe for EnvDiffuseProbe
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more