#[repr(u32)]
pub enum IPLProbeGenerationType {
IPL_PROBEGENERATIONTYPE_CENTROID,
IPL_PROBEGENERATIONTYPE_UNIFORMFLOOR,
}
Expand description
The different algorithms for generating probes.
Variants
IPL_PROBEGENERATIONTYPE_CENTROID
Generates a single probe at the center of the specified box.
IPL_PROBEGENERATIONTYPE_UNIFORMFLOOR
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
sourceimpl Clone for IPLProbeGenerationType
impl Clone for IPLProbeGenerationType
sourcefn clone(&self) -> IPLProbeGenerationType
fn clone(&self) -> IPLProbeGenerationType
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for IPLProbeGenerationType
impl Debug for IPLProbeGenerationType
sourceimpl Hash for IPLProbeGenerationType
impl Hash for IPLProbeGenerationType
impl Copy for IPLProbeGenerationType
impl Eq for IPLProbeGenerationType
impl StructuralEq for IPLProbeGenerationType
impl StructuralPartialEq for IPLProbeGenerationType
Auto Trait Implementations
impl RefUnwindSafe for IPLProbeGenerationType
impl Send for IPLProbeGenerationType
impl Sync for IPLProbeGenerationType
impl Unpin for IPLProbeGenerationType
impl UnwindSafe for IPLProbeGenerationType
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more