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
파일 보기 프로젝트 열기: Nihlus/libwarcraft 1 사용 예제들

공개 프로퍼티들

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