pub struct LightProbeIrradianceDataSource { /* private fields */ }Implementations§
Source§impl LightProbeIrradianceDataSource
impl LightProbeIrradianceDataSource
pub fn new<F>( bounding_box: BoundingBox, spherical_harmonics_level: usize, coefficients_at_position: F, ) -> Result<Self>
pub fn bounding_box(&self) -> BoundingBox
pub fn set_bounding_box(&self, bounding_box: BoundingBox)
pub fn spherical_harmonics_level(&self) -> usize
pub fn set_spherical_harmonics_level(&self, spherical_harmonics_level: usize)
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