pub struct PhysicallyPlausibleLight { /* private fields */ }Expand description
Wraps the corresponding Model I/O physically plausible light counterpart.
Implementations§
Source§impl PhysicallyPlausibleLight
impl PhysicallyPlausibleLight
Sourcepub fn new() -> Result<Self>
pub fn new() -> Result<Self>
Wraps the corresponding Model I/O initializer for the wrapped Model I/O physically plausible light counterpart.
Sourcepub fn info(&self) -> Result<PhysicallyPlausibleLightInfo>
pub fn info(&self) -> Result<PhysicallyPlausibleLightInfo>
Calls the corresponding Model I/O method on the wrapped Model I/O physically plausible light counterpart.
Sourcepub fn set_color_temperature(&self, temperature: f32)
pub fn set_color_temperature(&self, temperature: f32)
Calls the corresponding Model I/O method on the wrapped Model I/O physically plausible light counterpart.
Sourcepub fn set_color(&self, color: [f32; 4])
pub fn set_color(&self, color: [f32; 4])
Calls the corresponding Model I/O method on the wrapped Model I/O physically plausible light counterpart.
Sourcepub fn set_lumens(&self, lumens: f32)
pub fn set_lumens(&self, lumens: f32)
Calls the corresponding Model I/O method on the wrapped Model I/O physically plausible light counterpart.
Sourcepub fn set_inner_cone_angle(&self, angle: f32)
pub fn set_inner_cone_angle(&self, angle: f32)
Calls the corresponding Model I/O method on the wrapped Model I/O physically plausible light counterpart.
Sourcepub fn set_outer_cone_angle(&self, angle: f32)
pub fn set_outer_cone_angle(&self, angle: f32)
Calls the corresponding Model I/O method on the wrapped Model I/O physically plausible light counterpart.
Sourcepub fn set_attenuation_start_distance(&self, distance: f32)
pub fn set_attenuation_start_distance(&self, distance: f32)
Calls the corresponding Model I/O method on the wrapped Model I/O physically plausible light counterpart.
Sourcepub fn set_attenuation_end_distance(&self, distance: f32)
pub fn set_attenuation_end_distance(&self, distance: f32)
Calls the corresponding Model I/O method on the wrapped Model I/O physically plausible light counterpart.
Trait Implementations§
Source§impl Clone for PhysicallyPlausibleLight
impl Clone for PhysicallyPlausibleLight
Source§fn clone(&self) -> PhysicallyPlausibleLight
fn clone(&self) -> PhysicallyPlausibleLight
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more