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 Default for MaterialProperties
[src]
fn default() -> MaterialProperties
[src]
Returns the "default value" for a type. Read more
impl PartialEq for MaterialProperties
[src]
fn eq(&self, __arg_0: &MaterialProperties) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &MaterialProperties) -> bool
[src]
This method tests for !=
.