pub struct AreaLight { /* private fields */ }Expand description
Wraps the corresponding Model I/O area light counterpart.
Implementations§
Source§impl AreaLight
impl AreaLight
Sourcepub fn new() -> Result<Self>
pub fn new() -> Result<Self>
Wraps the corresponding Model I/O initializer for the wrapped Model I/O area light counterpart.
Sourcepub fn info(&self) -> Result<AreaLightInfo>
pub fn info(&self) -> Result<AreaLightInfo>
Calls the corresponding Model I/O method on the wrapped Model I/O area light counterpart.
Sourcepub fn set_area_radius(&self, value: f32)
pub fn set_area_radius(&self, value: f32)
Calls the corresponding Model I/O method on the wrapped Model I/O area light counterpart.
Sourcepub fn set_super_elliptic_power(&self, value: [f32; 2])
pub fn set_super_elliptic_power(&self, value: [f32; 2])
Calls the corresponding Model I/O method on the wrapped Model I/O area light counterpart.
Sourcepub fn set_aspect(&self, value: f32)
pub fn set_aspect(&self, value: f32)
Calls the corresponding Model I/O method on the wrapped Model I/O area light counterpart.
Sourcepub fn as_physically_plausible_light(&self) -> PhysicallyPlausibleLight
pub fn as_physically_plausible_light(&self) -> PhysicallyPlausibleLight
Calls the corresponding Model I/O method on the wrapped Model I/O area light counterpart.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AreaLight
impl RefUnwindSafe for AreaLight
impl !Send for AreaLight
impl !Sync for AreaLight
impl Unpin for AreaLight
impl UnsafeUnpin for AreaLight
impl UnwindSafe for AreaLight
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