C# Класс Warcraft.ADT.Chunks.ModelPlacementEntry

An entry struct containing information about the model
Показать файл Открыть проект Примеры использования класса

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

Свойство Тип Описание
Flags ModelPlacementFlags
ModelEntryIndex uint
Position Vector3f
Rotation Rotator
ScalingFactor ushort
UniqueID uint

Открытые методы

Метод Описание
GetSize ( ) : int

Gets the size of an entry.

ModelPlacementEntry ( byte data ) : System

Initializes a new instance of the Warcraft.ADT.Chunks.ModelPlacementEntry class.

Описание методов

GetSize() публичный статический Метод

Gets the size of an entry.
public static GetSize ( ) : int
Результат int

ModelPlacementEntry() публичный Метод

Initializes a new instance of the Warcraft.ADT.Chunks.ModelPlacementEntry class.
public ModelPlacementEntry ( byte data ) : System
data byte Data.
Результат System

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

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

MMDF flags for the object
public ModelPlacementFlags Flags
Результат ModelPlacementFlags

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

Specifies which model to use via the MMID chunk
public uint ModelEntryIndex
Результат uint

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

Position of the model
public Vector3f Position
Результат Vector3f

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

Rotation of the model
public Rotator Rotation
Результат Rotator

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

Scale of the model. 1024 is the default value, equating to 1.0f. There is no uneven scaling of objects
public ushort ScalingFactor
Результат ushort

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

A unique actor ID for the model. Blizzard implements this as game global, but it's only checked in loaded tiles
public uint UniqueID
Результат uint