pub struct ReflectionProbe {
pub position: Vec3,
pub radius: f32,
pub importance: f32,
pub parallax_correction: bool,
}Expand description
A spherical reflection probe that captures environment radiance at a point.
Fields§
§position: Vec3§radius: f32Influence radius — objects within this sphere can use this probe.
importance: f32Priority weight for blending when multiple probes overlap.
parallax_correction: boolWhether to apply box parallax correction.
Implementations§
Trait Implementations§
Source§impl Clone for ReflectionProbe
impl Clone for ReflectionProbe
Source§fn clone(&self) -> ReflectionProbe
fn clone(&self) -> ReflectionProbe
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 moreAuto Trait Implementations§
impl Freeze for ReflectionProbe
impl RefUnwindSafe for ReflectionProbe
impl Send for ReflectionProbe
impl Sync for ReflectionProbe
impl Unpin for ReflectionProbe
impl UnsafeUnpin for ReflectionProbe
impl UnwindSafe for ReflectionProbe
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