C# Класс TerrainDisplay.MPQ.M2.M2Model

Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
BoundingNormals Vector3[]
BoundingTriangles Index3[]
BoundingVertices Vector3[]
GlobalSequenceTimestamps uint[]
Header TerrainDisplay.MPQ.M2.Components.ModelHeader
Name string
Vertices TerrainDisplay.MPQ.M2.Components.ModelVertices[]

Описание свойств

BoundingNormals публичное свойство

public Vector3[] BoundingNormals
Результат Vector3[]

BoundingTriangles публичное свойство

public Index3[] BoundingTriangles
Результат Index3[]

BoundingVertices публичное свойство

public Vector3[] BoundingVertices
Результат Vector3[]

GlobalSequenceTimestamps публичное свойство

A list of timestamps that act as upper limits for global sequence ranges.
public uint[] GlobalSequenceTimestamps
Результат uint[]

Header публичное свойство

public ModelHeader,TerrainDisplay.MPQ.M2.Components Header
Результат TerrainDisplay.MPQ.M2.Components.ModelHeader

Name публичное свойство

public string Name
Результат string

Vertices публичное свойство

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
Результат TerrainDisplay.MPQ.M2.Components.ModelVertices[]