pub struct ProbeState {
pub cube: Entity,
pub diffuse_volume: Option<Entity>,
pub intensity: f32,
pub mip_policy: ProbeMipPolicy,
}Expand description
One authored environment state. Its diffuse field is the existing irradiance-volume entity, including that entity’s transform and coefficient sampling domain.
Fields§
§cube: Entity§diffuse_volume: Option<Entity>§intensity: f32Multiplier on the cube’s linear radiance, finite and nonnegative.
mip_policy: ProbeMipPolicyTrait Implementations§
Source§impl Clone for ProbeState
impl Clone for ProbeState
Source§impl Debug for ProbeState
impl Debug for ProbeState
Source§impl PartialEq for ProbeState
impl PartialEq for ProbeState
Source§impl Serialize for ProbeState
impl Serialize for ProbeState
impl StructuralPartialEq for ProbeState
Auto Trait Implementations§
impl Forget for ProbeState
impl Freeze for ProbeState
impl RefUnwindSafe for ProbeState
impl Send for ProbeState
impl Sync for ProbeState
impl Unpin for ProbeState
impl UnsafeUnpin for ProbeState
impl UnwindSafe for ProbeState
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