C# Class 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.
Inheritance: IRIFFChunk, IBinarySerializable
Afficher le fichier Open project: Nihlus/libwarcraft Class Usage Examples

Méthodes publiques

Свойство Type Description
ConvexPlanes List

Méthodes publiques

Méthode Description
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.

Method Details

GetSignature() public méthode

Gets the static data signature of this data block type.
public GetSignature ( ) : string
Résultat string

LoadBinaryData() public méthode

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.
Résultat void

ModelConvexPlanes() public méthode

Creates a new empty convex plane block object.
public ModelConvexPlanes ( ) : System.Collections.Generic
Résultat System.Collections.Generic

ModelConvexPlanes() public méthode

Creates a new convex plane block object from binary data.
public ModelConvexPlanes ( byte inData ) : System.Collections.Generic
inData byte
Résultat System.Collections.Generic

Serialize() public méthode

Serializes the current object into a byte array.
public Serialize ( ) : byte[]
Résultat byte[]

Property Details

ConvexPlanes public_oe property

The convex planes contained in this object. These planes are used to define regions in the model object.
public List ConvexPlanes
Résultat List