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
显示文件 Open project: Nihlus/libwarcraft Class Usage Examples

Public Properties

Property Type Description
ConvexPlanes List

Public Methods

Method 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 method

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

LoadBinaryData() public method

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.
return void

ModelConvexPlanes() public method

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

ModelConvexPlanes() public method

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

Serialize() public method

Serializes the current object into a byte array.
public Serialize ( ) : byte[]
return 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
return List