NIF Objects | Compound Types | Enum Types | Basic Types | File Versions

SkinPartition

Skinning data for a submesh, optimized for hardware skinning. Part of NiSkinPartition.

Attributes

Name Type Description
Num Vertices ushort Number of vertices in this submesh.
Num Triangles ushort Number of triangles in this submesh.
Num Bones ushort Number of bones influencing this submesh.
Num Strips ushort Number of strips in this submesh (zero if not stripped).
Num Weights Per Vertex ushort Number of weight coefficients per vertex. The Gamebryo engine seems to work well only if this number is equal to 4, even if there are less than 4 influences per vertex.
Bones ushort List of bones.
Has Vertex Map bool Do we have a vertex map?
Vertex Map ushort Maps the weight/influence lists in this submesh to the vertices in the shape being skinned.
Has Vertex Weights bool Do we have vertex weights?
Vertex Weights float The vertex weights.
Strip Lengths ushort The strip lengths.
Has Faces bool Do we have triangle or strip data?
Strips ushort The strips.
Triangles Triangle The triangles.
Has Bone Indices bool Do we have bone indices?
Bone Indices byte Bone indices, they index into 'Bones'.
Unknown Short ushort Unknown
Vertex Desc BSVertexDesc
Triangles Copy Triangle

Found In