#[repr(u32)]pub enum IPLProbeGenerationType {
IPL_PROBEGENERATIONTYPE_CENTROID = 0,
IPL_PROBEGENERATIONTYPE_UNIFORMFLOOR = 1,
}Expand description
The different algorithms for generating probes.
Variants§
IPL_PROBEGENERATIONTYPE_CENTROID = 0
Generates a single probe at the center of the specified box.
IPL_PROBEGENERATIONTYPE_UNIFORMFLOOR = 1
Generates probes that are uniformly-spaced, at a fixed height above solid geometry. A probe will never be generated above another probe unless there is a solid object between them. The goal is to model floors or terrain, and generate probes that are a fixed height above the floor or terrain, and uniformly-spaced along the horizontal plane. This algorithm is not suitable for scenarios where the listener may fly into a region with no probes; if this happens, the listener will not be influenced by any of the baked data.
Trait Implementations§
Source§impl Clone for IPLProbeGenerationType
impl Clone for IPLProbeGenerationType
Source§fn clone(&self) -> IPLProbeGenerationType
fn clone(&self) -> IPLProbeGenerationType
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 IPLProbeGenerationType
impl Debug for IPLProbeGenerationType
Source§impl Hash for IPLProbeGenerationType
impl Hash for IPLProbeGenerationType
Source§impl PartialEq for IPLProbeGenerationType
impl PartialEq for IPLProbeGenerationType
impl Copy for IPLProbeGenerationType
impl Eq for IPLProbeGenerationType
impl StructuralPartialEq for IPLProbeGenerationType
Auto Trait Implementations§
impl Freeze for IPLProbeGenerationType
impl RefUnwindSafe for IPLProbeGenerationType
impl Send for IPLProbeGenerationType
impl Sync for IPLProbeGenerationType
impl Unpin for IPLProbeGenerationType
impl UnwindSafe for IPLProbeGenerationType
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