Struct nif::blocks::NiMaterialProperty [−][src]
pub struct NiMaterialProperty { pub base: NiObjectNET, pub color_ambient: Color3, pub color_diffuse: Color3, pub color_specular: Color3, pub color_emissive: Color3, pub glossiness: f32, pub alpha: f32, }
Fields
base: NiObjectNET
color_ambient: Color3
color_diffuse: Color3
color_specular: Color3
color_emissive: Color3
glossiness: f32
alpha: f32
Implementations
Trait Implementations
The type of arguments needed to be supplied in order to read this type, usually a tuple. Read more
fn read_options<R: Read + Seek>(
__binread_generated_var_reader: &mut R,
__binread_generated_var_options: &ReadOptions,
__binread_generated_var_arguments: Self::Args
) -> BinResult<Self>
fn read_options<R: Read + Seek>(
__binread_generated_var_reader: &mut R,
__binread_generated_var_options: &ReadOptions,
__binread_generated_var_arguments: Self::Args
) -> BinResult<Self>
Read the type from the reader
Read the type from the reader while assuming no arguments have been passed Read more
Read the type from the reader using the specified arguments
fn after_parse<R>(
&mut self,
&mut R,
&ReadOptions,
Self::Args
) -> Result<(), Error> where
R: Read + Seek,
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.