C# Class TerrainDisplay.MPQ.M2.M2Model

Show file Open project: WCell/WCell-Terrain Class Usage Examples

Public Properties

Property Type Description
BoundingNormals Vector3[]
BoundingTriangles Index3[]
BoundingVertices Vector3[]
GlobalSequenceTimestamps uint[]
Header TerrainDisplay.MPQ.M2.Components.ModelHeader
Name string
Vertices TerrainDisplay.MPQ.M2.Components.ModelVertices[]

Property Details

BoundingNormals public property

public Vector3[] BoundingNormals
return Vector3[]

BoundingTriangles public property

public Index3[] BoundingTriangles
return Index3[]

BoundingVertices public property

public Vector3[] BoundingVertices
return Vector3[]

GlobalSequenceTimestamps public property

A list of timestamps that act as upper limits for global sequence ranges.
public uint[] GlobalSequenceTimestamps
return uint[]

Header public property

public ModelHeader,TerrainDisplay.MPQ.M2.Components Header
return TerrainDisplay.MPQ.M2.Components.ModelHeader

Name public property

public string Name
return string

Vertices public property

Models, too, use a Z-up coordinate systems, so in order to convert to Y-up, the X, Y, Z values become (X, -Z, Y).
public ModelVertices[],TerrainDisplay.MPQ.M2.Components Vertices
return TerrainDisplay.MPQ.M2.Components.ModelVertices[]