C# 클래스 Warcraft.ADT.Chunks.ModelPlacementEntry

An entry struct containing information about the model
파일 보기 프로젝트 열기: Nihlus/libwarcraft 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
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