C# 클래스 idTech4.Collision.idTraceModel

A trace model is an arbitrary polygonal model which is used by the collision detection system to find collisions, contacts or the contents of a volume. For collision detection speed reasons the number of vertices and edges are limited. The trace model can have any shape. However convex models are usually preferred.
파일 보기 프로젝트 열기: iainmckay/idtech4.net 1 사용 예제들

공개 메소드들

메소드 설명
Copy ( ) : idTraceModel
Equals ( idTraceModel traceModel ) : bool
Equals ( object obj ) : bool
GetMassProperties ( float density, float &mass, Vector3 &centerOfMass, Matrix &inertiaTensor ) : void
SetupBox ( idBounds bounds ) : void
SetupCylinder ( idBounds bounds, int sideCount ) : void
idTraceModel ( ) : System
idTraceModel ( idBounds bounds ) : System

Axial bounding box.

idTraceModel ( idBounds bounds, int sideCount ) : System
operator ( ) : bool

비공개 메소드들

메소드 설명
GenerateEdgeNormals ( ) : int
GetPolygonIntegrals ( int polyNumber, int a, int b, int c ) : PolygonIntegrals
GetProjectionIntegrals ( int polyNumber, int a, int b ) : ProjectionIntegrals
GetVolumeIntegrals ( ) : VolumeIntegrals
InitBox ( ) : void
VolumeFromPolygon ( float thickness ) : idTraceModel

메소드 상세

Copy() 공개 메소드

public Copy ( ) : idTraceModel
리턴 idTraceModel

Equals() 공개 메소드

public Equals ( idTraceModel traceModel ) : bool
traceModel idTraceModel
리턴 bool

Equals() 공개 메소드

public Equals ( object obj ) : bool
obj object
리턴 bool

GetMassProperties() 공개 메소드

public GetMassProperties ( float density, float &mass, Vector3 &centerOfMass, Matrix &inertiaTensor ) : void
density float
mass float
centerOfMass Vector3
inertiaTensor Matrix
리턴 void

SetupBox() 공개 메소드

public SetupBox ( idBounds bounds ) : void
bounds idTech4.idBounds
리턴 void

SetupCylinder() 공개 메소드

public SetupCylinder ( idBounds bounds, int sideCount ) : void
bounds idTech4.idBounds
sideCount int
리턴 void

idTraceModel() 공개 메소드

public idTraceModel ( ) : System
리턴 System

idTraceModel() 공개 메소드

Axial bounding box.
public idTraceModel ( idBounds bounds ) : System
bounds idTech4.idBounds
리턴 System

idTraceModel() 공개 메소드

public idTraceModel ( idBounds bounds, int sideCount ) : System
bounds idTech4.idBounds
sideCount int
리턴 System

operator() 공개 정적인 메소드

public static operator ( ) : bool
리턴 bool