Struct dot_vox::MaterialProperties [−][src]
pub struct MaterialProperties { pub plastic: Option<f32>, pub roughness: Option<f32>, pub specular: Option<f32>, pub ior: Option<f32>, pub attenuation: Option<f32>, pub power: Option<f32>, pub glow: Option<f32>, pub is_total_power: Option<bool>, }
A set of optional properties for the material.
Fields
plastic: Option<f32>
If set, the degree of plasticisation.
roughness: Option<f32>
If set, the degree of roughness.
specular: Option<f32>
If set, the degree of specular.
ior: Option<f32>
Index Of Refraction
attenuation: Option<f32>
Attenuation
power: Option<f32>
Power
glow: Option<f32>
Glow
is_total_power: Option<bool>
If set, whether isTotalPower.
Trait Implementations
impl Debug for MaterialProperties
[src]
impl Debug for MaterialProperties
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Default for MaterialProperties
[src]
impl Default for MaterialProperties
fn default() -> MaterialProperties
[src]
fn default() -> MaterialProperties
Returns the "default value" for a type. Read more
impl PartialEq for MaterialProperties
[src]
impl PartialEq for MaterialProperties
fn eq(&self, other: &MaterialProperties) -> bool
[src]
fn eq(&self, other: &MaterialProperties) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &MaterialProperties) -> bool
[src]
fn ne(&self, other: &MaterialProperties) -> bool
This method tests for !=
.
Auto Trait Implementations
impl Send for MaterialProperties
impl Send for MaterialProperties
impl Sync for MaterialProperties
impl Sync for MaterialProperties