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: f32Implementations§
Trait Implementations§
Source§impl BinRead for NiMaterialProperty
impl BinRead for NiMaterialProperty
Source§fn read_options<R: Read + Seek>(
__binrw_generated_var_reader: &mut R,
__binrw_generated_var_endian: Endian,
__binrw_generated_var_arguments: Self::Args<'_>,
) -> BinResult<Self>
fn read_options<R: Read + Seek>( __binrw_generated_var_reader: &mut R, __binrw_generated_var_endian: Endian, __binrw_generated_var_arguments: Self::Args<'_>, ) -> BinResult<Self>
Source§fn read_be<R>(reader: &mut R) -> Result<Self, Error>
fn read_be<R>(reader: &mut R) -> Result<Self, Error>
Read
Self from the reader using default arguments and assuming
big-endian byte order. Read moreSource§fn read_le<R>(reader: &mut R) -> Result<Self, Error>
fn read_le<R>(reader: &mut R) -> Result<Self, Error>
Read
Self from the reader using default arguments and assuming
little-endian byte order. Read moreSource§fn read_ne<R>(reader: &mut R) -> Result<Self, Error>
fn read_ne<R>(reader: &mut R) -> Result<Self, Error>
Read
T from the reader assuming native-endian byte order. Read moreSource§fn read_be_args<R>(reader: &mut R, args: Self::Args<'_>) -> Result<Self, Error>
fn read_be_args<R>(reader: &mut R, args: Self::Args<'_>) -> Result<Self, Error>
Read
Self from the reader, assuming big-endian byte order, using the
given arguments. Read moreSource§impl Debug for NiMaterialProperty
impl Debug for NiMaterialProperty
Source§impl Deref for NiMaterialProperty
impl Deref for NiMaterialProperty
Source§impl PartialEq for NiMaterialProperty
impl PartialEq for NiMaterialProperty
impl StructuralPartialEq for NiMaterialProperty
Auto Trait Implementations§
impl Freeze for NiMaterialProperty
impl RefUnwindSafe for NiMaterialProperty
impl Send for NiMaterialProperty
impl Sync for NiMaterialProperty
impl Unpin for NiMaterialProperty
impl UnwindSafe for NiMaterialProperty
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more