C# Класс Warcraft.WMO.RootFile.Chunks.ModelConvexPlanes

Contains a set of planes defining the actual volume which should be considered "inside" a model. If a point is behind all planes (that is, the point-plane distance is less than zero for all planes), the point is considered inside the model. This is used, for example, in transport models where it is important to know if the player should stick to the model or not.
Наследование: IRIFFChunk, IBinarySerializable
Показать файл Открыть проект Примеры использования класса

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

Свойство Тип Описание
ConvexPlanes List

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

Метод Описание
GetSignature ( ) : string

Gets the static data signature of this data block type.

LoadBinaryData ( byte inData ) : void

Deserialzes the provided binary data of the object. This is the full data block which follows the data signature and data block length.

ModelConvexPlanes ( ) : System.Collections.Generic

Creates a new empty convex plane block object.

ModelConvexPlanes ( byte inData ) : System.Collections.Generic

Creates a new convex plane block object from binary data.

Serialize ( ) : byte[]

Serializes the current object into a byte array.

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

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

Gets the static data signature of this data block type.
public GetSignature ( ) : string
Результат string

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

Deserialzes the provided binary data of the object. This is the full data block which follows the data signature and data block length.
public LoadBinaryData ( byte inData ) : void
inData byte The binary data containing the object.
Результат void

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

Creates a new empty convex plane block object.
public ModelConvexPlanes ( ) : System.Collections.Generic
Результат System.Collections.Generic

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

Creates a new convex plane block object from binary data.
public ModelConvexPlanes ( byte inData ) : System.Collections.Generic
inData byte
Результат System.Collections.Generic

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

Serializes the current object into a byte array.
public Serialize ( ) : byte[]
Результат byte[]

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

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

The convex planes contained in this object. These planes are used to define regions in the model object.
public List ConvexPlanes
Результат List