pub struct LightProbe {
pub name: String,
pub position: [f32; 3],
pub probe_type: ProbeType,
pub radius: f32,
pub intensity: f32,
pub sh_coefficients: Vec<[f32; 3]>,
}Fields§
§name: String§position: [f32; 3]§probe_type: ProbeType§radius: f32§intensity: f32§sh_coefficients: Vec<[f32; 3]>Auto Trait Implementations§
impl Freeze for LightProbe
impl RefUnwindSafe for LightProbe
impl Send for LightProbe
impl Sync for LightProbe
impl Unpin for LightProbe
impl UnsafeUnpin for LightProbe
impl UnwindSafe for LightProbe
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> 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