C# Class TerrainDisplay.MPQ.M2.M2Model

ファイルを表示 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_oe property

public Vector3[] BoundingNormals
return Vector3[]

BoundingTriangles public_oe property

public Index3[] BoundingTriangles
return Index3[]

BoundingVertices public_oe property

public Vector3[] BoundingVertices
return Vector3[]

GlobalSequenceTimestamps public_oe property

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

Header public_oe property

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

Name public_oe property

public string Name
return string

Vertices public_oe 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[]