pub struct LightProbeIrradianceDataSource { /* private fields */ }Expand description
Wraps the corresponding Model I/O light probe irradiance data source counterpart.
Implementations§
Source§impl LightProbeIrradianceDataSource
impl LightProbeIrradianceDataSource
Sourcepub fn new<F>(
bounding_box: BoundingBox,
spherical_harmonics_level: usize,
coefficients_at_position: F,
) -> Result<Self>
pub fn new<F>( bounding_box: BoundingBox, spherical_harmonics_level: usize, coefficients_at_position: F, ) -> Result<Self>
Calls the corresponding Model I/O method on the wrapped Model I/O light probe irradiance data source counterpart.
Sourcepub fn bounding_box(&self) -> BoundingBox
pub fn bounding_box(&self) -> BoundingBox
Calls the corresponding Model I/O method on the wrapped Model I/O light probe irradiance data source counterpart.
Sourcepub fn set_bounding_box(&self, bounding_box: BoundingBox)
pub fn set_bounding_box(&self, bounding_box: BoundingBox)
Calls the corresponding Model I/O method on the wrapped Model I/O light probe irradiance data source counterpart.
Sourcepub fn spherical_harmonics_level(&self) -> usize
pub fn spherical_harmonics_level(&self) -> usize
Calls the corresponding Model I/O method on the wrapped Model I/O light probe irradiance data source counterpart.
Sourcepub fn set_spherical_harmonics_level(&self, spherical_harmonics_level: usize)
pub fn set_spherical_harmonics_level(&self, spherical_harmonics_level: usize)
Calls the corresponding Model I/O method on the wrapped Model I/O light probe irradiance data source counterpart.
Trait Implementations§
Source§impl Clone for LightProbeIrradianceDataSource
impl Clone for LightProbeIrradianceDataSource
Source§fn clone(&self) -> LightProbeIrradianceDataSource
fn clone(&self) -> LightProbeIrradianceDataSource
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 LightProbeIrradianceDataSource
impl RefUnwindSafe for LightProbeIrradianceDataSource
impl !Send for LightProbeIrradianceDataSource
impl !Sync for LightProbeIrradianceDataSource
impl Unpin for LightProbeIrradianceDataSource
impl UnsafeUnpin for LightProbeIrradianceDataSource
impl UnwindSafe for LightProbeIrradianceDataSource
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