[][src]Struct mmd::pmx::material::Material

pub struct Material<I = i32> {
    pub local_name: String,
    pub universal_name: String,
    pub diffuse_color: [f32; 4],
    pub specular_color: [f32; 3],
    pub specular_strength: f32,
    pub ambient_color: [f32; 3],
    pub draw_flags: BitFlags<DrawingFlags>,
    pub edge_color: [f32; 4],
    pub edge_scale: f32,
    pub texture_index: I,
    pub environment_index: I,
    pub environment_blend_mode: EnvironmentBlendMode,
    pub toon: Toon<I>,
    pub metadata: String,
    pub surface_count: i32,
}

Fields

local_name: Stringuniversal_name: Stringdiffuse_color: [f32; 4]specular_color: [f32; 3]specular_strength: f32ambient_color: [f32; 3]draw_flags: BitFlags<DrawingFlags>edge_color: [f32; 4]edge_scale: f32texture_index: Ienvironment_index: Ienvironment_blend_mode: EnvironmentBlendModetoon: Toon<I>metadata: Stringsurface_count: i32

Trait Implementations

impl<I: Display> Display for Material<I>[src]

Auto Trait Implementations

impl<I> Send for Material<I> where
    I: Send

impl<I> Sync for Material<I> where
    I: Sync

impl<I> Unpin for Material<I> where
    I: Unpin

impl<I> UnwindSafe for Material<I> where
    I: UnwindSafe

impl<I> RefUnwindSafe for Material<I> where
    I: RefUnwindSafe

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]