pub struct PhysicallyPlausibleScatteringFunction { /* private fields */ }Expand description
Wraps the corresponding Model I/O physically plausible scattering function counterpart.
Implementations§
Source§impl PhysicallyPlausibleScatteringFunction
impl PhysicallyPlausibleScatteringFunction
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 scattering function counterpart.
Sourcepub fn version(&self) -> i64
pub fn version(&self) -> i64
Calls the corresponding Model I/O method on the wrapped Model I/O physically plausible scattering function counterpart.
Sourcepub fn name(&self) -> Option<String>
pub fn name(&self) -> Option<String>
Calls the corresponding Model I/O method on the wrapped Model I/O physically plausible scattering function counterpart.
Sourcepub fn set_name(&self, name: &str) -> Result<()>
pub fn set_name(&self, name: &str) -> Result<()>
Calls the corresponding Model I/O method on the wrapped Model I/O physically plausible scattering function counterpart.
Sourcepub fn subsurface(&self) -> Option<MaterialProperty>
pub fn subsurface(&self) -> Option<MaterialProperty>
Calls the corresponding Model I/O method on the wrapped Model I/O physically plausible scattering function counterpart.
Sourcepub fn metallic(&self) -> Option<MaterialProperty>
pub fn metallic(&self) -> Option<MaterialProperty>
Calls the corresponding Model I/O method on the wrapped Model I/O physically plausible scattering function counterpart.
Sourcepub fn specular_amount(&self) -> Option<MaterialProperty>
pub fn specular_amount(&self) -> Option<MaterialProperty>
Calls the corresponding Model I/O method on the wrapped Model I/O physically plausible scattering function counterpart.
Sourcepub fn specular_tint(&self) -> Option<MaterialProperty>
pub fn specular_tint(&self) -> Option<MaterialProperty>
Calls the corresponding Model I/O method on the wrapped Model I/O physically plausible scattering function counterpart.
Sourcepub fn roughness(&self) -> Option<MaterialProperty>
pub fn roughness(&self) -> Option<MaterialProperty>
Calls the corresponding Model I/O method on the wrapped Model I/O physically plausible scattering function counterpart.
Sourcepub fn anisotropic(&self) -> Option<MaterialProperty>
pub fn anisotropic(&self) -> Option<MaterialProperty>
Calls the corresponding Model I/O method on the wrapped Model I/O physically plausible scattering function counterpart.
Sourcepub fn anisotropic_rotation(&self) -> Option<MaterialProperty>
pub fn anisotropic_rotation(&self) -> Option<MaterialProperty>
Calls the corresponding Model I/O method on the wrapped Model I/O physically plausible scattering function counterpart.
Sourcepub fn sheen(&self) -> Option<MaterialProperty>
pub fn sheen(&self) -> Option<MaterialProperty>
Calls the corresponding Model I/O method on the wrapped Model I/O physically plausible scattering function counterpart.
Sourcepub fn sheen_tint(&self) -> Option<MaterialProperty>
pub fn sheen_tint(&self) -> Option<MaterialProperty>
Calls the corresponding Model I/O method on the wrapped Model I/O physically plausible scattering function counterpart.
Sourcepub fn clearcoat(&self) -> Option<MaterialProperty>
pub fn clearcoat(&self) -> Option<MaterialProperty>
Calls the corresponding Model I/O method on the wrapped Model I/O physically plausible scattering function counterpart.
Sourcepub fn clearcoat_gloss(&self) -> Option<MaterialProperty>
pub fn clearcoat_gloss(&self) -> Option<MaterialProperty>
Calls the corresponding Model I/O method on the wrapped Model I/O physically plausible scattering function counterpart.
Sourcepub fn as_scattering_function(&self) -> ScatteringFunction
pub fn as_scattering_function(&self) -> ScatteringFunction
Calls the corresponding Model I/O method on the wrapped Model I/O physically plausible scattering function counterpart.
Trait Implementations§
Source§impl Clone for PhysicallyPlausibleScatteringFunction
impl Clone for PhysicallyPlausibleScatteringFunction
Source§fn clone(&self) -> PhysicallyPlausibleScatteringFunction
fn clone(&self) -> PhysicallyPlausibleScatteringFunction
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more