Skip to main content

FbxNormalSet

Type Alias FbxNormalSet 

Source
pub type FbxNormalSet = FbxLayerSet<3>;
Available on crate features fbx-reader or fbx-writer only.
Expand description

A preserved FBX LayerElementNormal.

Aliased Type§

pub struct FbxNormalSet {
    pub name: Option<String>,
    pub mapping: Option<String>,
    pub reference: Option<String>,
    pub values: Vec<[f32; 3]>,
    pub indices: Vec<i32>,
}

Fields§

§name: Option<String>

FBX layer set name.

§mapping: Option<String>

FBX mapping information type, e.g. ByPolygonVertex or ByVertice.

§reference: Option<String>

FBX reference information type, e.g. Direct or IndexToDirect.

§values: Vec<[f32; 3]>

Direct values.

§indices: Vec<i32>

Optional direct-value indices, used when reference is IndexToDirect.