Struct nif::blocks::NiGeometryData [−][src]
pub struct NiGeometryData {}Show 19 fields
pub name: NiString, pub num_vertices: u16, pub keep_flags: u8, pub compress_flags: u8, pub has_vertices: bool, pub vertices: Option<Vec<Vector3>>, pub num_uv_sets: u8, pub tspace_flag: u8, pub has_normals: bool, pub normals: Option<Vec<Vector3>>, pub tangents: Option<Vec<Vector3>>, pub binormals: Option<Vec<Vector3>>, pub center: Vector3, pub radius: f32, pub has_vertex_colors: bool, pub vertex_colors: Option<Vec<Color4>>, pub uv_sets: Vec<UvSet>, pub consistency_flags: u16, pub additional_data_ref: i32,
Fields
name: NiString
num_vertices: u16
keep_flags: u8
compress_flags: u8
has_vertices: bool
vertices: Option<Vec<Vector3>>
num_uv_sets: u8
tspace_flag: u8
has_normals: bool
normals: Option<Vec<Vector3>>
tangents: Option<Vec<Vector3>>
binormals: Option<Vec<Vector3>>
center: Vector3
radius: f32
has_vertex_colors: bool
vertex_colors: Option<Vec<Color4>>
uv_sets: Vec<UvSet>
consistency_flags: u16
additional_data_ref: i32
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 !=
.