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

If set, the degree of plasticisation.

If set, the degree of roughness.

If set, the degree of specular.

Index Of Refraction

Attenuation

Power

Glow

If set, whether isTotalPower.

Trait Implementations

impl Debug for MaterialProperties
[src]

[src]

Formats the value using the given formatter.

impl Default for MaterialProperties
[src]

[src]

Returns the "default value" for a type. Read more

impl PartialEq for MaterialProperties
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.