#[repr(C)]pub struct IPLProbeGenerationParams {
pub type_: IPLProbeGenerationType,
pub spacing: IPLfloat32,
pub height: IPLfloat32,
pub transform: IPLMatrix4x4,
}Expand description
Settings used to generate probes.
Fields§
§type_: IPLProbeGenerationTypeThe algorithm to use for generating probes.
spacing: IPLfloat32Spacing (in meters) between two neighboring probes. Only for \c IPL_PROBEGENERATIONTYPE_UNIFORMFLOOR.
height: IPLfloat32Height (in meters) above the floor at which probes will be generated. Only for \c IPL_PROBEGENERATIONTYPE_UNIFORMFLOOR.
transform: IPLMatrix4x4A transformation matrix that transforms an axis-aligned unit cube, with minimum and maximum vertices at (0, 0, 0) and (1, 1, 1), into a parallelopiped volume. Probes will be generated within this volume.
Trait Implementations§
Source§impl Clone for IPLProbeGenerationParams
impl Clone for IPLProbeGenerationParams
Source§fn clone(&self) -> IPLProbeGenerationParams
fn clone(&self) -> IPLProbeGenerationParams
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 IPLProbeGenerationParams
impl Debug for IPLProbeGenerationParams
impl Copy for IPLProbeGenerationParams
Auto Trait Implementations§
impl Freeze for IPLProbeGenerationParams
impl RefUnwindSafe for IPLProbeGenerationParams
impl Send for IPLProbeGenerationParams
impl Sync for IPLProbeGenerationParams
impl Unpin for IPLProbeGenerationParams
impl UnwindSafe for IPLProbeGenerationParams
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