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: NiStringnum_vertices: u16keep_flags: u8compress_flags: u8has_vertices: boolvertices: Option<Vec<Vector3>>num_uv_sets: u8tspace_flag: u8has_normals: boolnormals: Option<Vec<Vector3>>tangents: Option<Vec<Vector3>>binormals: Option<Vec<Vector3>>center: Vector3radius: f32has_vertex_colors: boolvertex_colors: Option<Vec<Color4>>uv_sets: Vec<UvSet>consistency_flags: u16additional_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

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

The default arguments to be used when using the read shortcut method. Override this for any type that optionally requries arguments Read more

Formats the value using the given formatter. Read more

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

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.