C# 클래스 BEPUphysics.CollisionTests.CollisionAlgorithms.GeneralConvexPairTester

Tests convex shapes against other convex shapes for contact generation.
파일 보기 프로젝트 열기: Indiefreaks/igf 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
UseSimplexCaching bool

보호된 프로퍼티들

프로퍼티 타입 설명
collidableA BEPUphysics.BroadPhaseEntries.MobileCollidables.ConvexCollidable
collidableB BEPUphysics.BroadPhaseEntries.MobileCollidables.ConvexCollidable

공개 메소드들

메소드 설명
CleanUp ( ) : void

Cleans up the pair tester.

GenerateContactCandidate ( ContactData &contact ) : bool

Generates a contact between the objects, if possible.

Initialize ( Collidable shapeA, Collidable shapeB ) : void

Initializes the pair tester.

비공개 메소드들

메소드 설명
DoDeepContact ( ContactData &contact ) : bool
DoShallowContact ( ContactData &contact ) : bool

메소드 상세

CleanUp() 공개 메소드

Cleans up the pair tester.
public CleanUp ( ) : void
리턴 void

GenerateContactCandidate() 공개 메소드

Generates a contact between the objects, if possible.
public GenerateContactCandidate ( ContactData &contact ) : bool
contact ContactData Contact created between the pair, if possible.
리턴 bool

Initialize() 공개 메소드

Initializes the pair tester.
public Initialize ( Collidable shapeA, Collidable shapeB ) : void
shapeA BEPUphysics.BroadPhaseEntries.Collidable First shape in the pair.
shapeB BEPUphysics.BroadPhaseEntries.Collidable Second shape in the pair.
리턴 void

프로퍼티 상세

UseSimplexCaching 공개적으로 정적으로 프로퍼티

Whether or not to use simplex caching in general case convex-convex collisions. This will improve performance in simulations relying on the general case system, but may decrease quality of behavior for curved shapes.
public static bool UseSimplexCaching
리턴 bool

collidableA 보호되어 있는 프로퍼티

protected ConvexCollidable,BEPUphysics.BroadPhaseEntries.MobileCollidables collidableA
리턴 BEPUphysics.BroadPhaseEntries.MobileCollidables.ConvexCollidable

collidableB 보호되어 있는 프로퍼티

protected ConvexCollidable,BEPUphysics.BroadPhaseEntries.MobileCollidables collidableB
리턴 BEPUphysics.BroadPhaseEntries.MobileCollidables.ConvexCollidable