C# Class BEPUphysics.NarrowPhaseSystems.NarrowPhaseHelper

Contains the collision managers dictionary and other helper methods for creating pairs.
ファイルを表示 Open project: Indiefreaks/igf Class Usage Examples

Public Methods

Method Description
GetPairHandler ( CollidablePair &pair ) : CollidablePairHandler

Gets a collidable pair handler for a pair of collidables.

GetPairHandler ( CollidablePair &pair, CollisionRule rule ) : CollidablePairHandler

Gets a collidable pair handler for a pair of collidables.

GetPairHandler ( BEPUphysics.BroadPhaseSystems.BroadPhaseEntry entryA, BEPUphysics.BroadPhaseSystems.BroadPhaseEntry entryB ) : BEPUphysics.NarrowPhaseSystems.Pairs.NarrowPhasePair

Gets a narrow phase pair for a given pair of entries.

GetPairHandler ( BEPUphysics.BroadPhaseSystems.BroadPhaseEntry entryA, BEPUphysics.BroadPhaseSystems.BroadPhaseEntry entryB, CollisionRule rule ) : BEPUphysics.NarrowPhaseSystems.Pairs.NarrowPhasePair

Gets a narrow phase pair for a given pair of entries.

GetPairHandler ( BroadPhaseOverlap &pair ) : BEPUphysics.NarrowPhaseSystems.Pairs.NarrowPhasePair

Gets a narrow phase pair for a given broad phase overlap.

Intersecting ( CollidablePair &pair ) : bool

Tests the pair of collidables for intersection without regard for collision rules.

Private Methods

Method Description
NarrowPhaseHelper ( ) : System.Collections.Generic

Method Details

GetPairHandler() public static method

Gets a collidable pair handler for a pair of collidables.
public static GetPairHandler ( CollidablePair &pair ) : CollidablePairHandler
pair CollidablePair Pair of collidables to use to create the pair handler.
return BEPUphysics.NarrowPhaseSystems.Pairs.CollidablePairHandler

GetPairHandler() public static method

Gets a collidable pair handler for a pair of collidables.
public static GetPairHandler ( CollidablePair &pair, CollisionRule rule ) : CollidablePairHandler
pair CollidablePair Pair of collidables to use to create the pair handler.
rule CollisionRule Collision rule governing the pair.
return BEPUphysics.NarrowPhaseSystems.Pairs.CollidablePairHandler

GetPairHandler() public static method

Gets a narrow phase pair for a given pair of entries.
public static GetPairHandler ( BEPUphysics.BroadPhaseSystems.BroadPhaseEntry entryA, BEPUphysics.BroadPhaseSystems.BroadPhaseEntry entryB ) : BEPUphysics.NarrowPhaseSystems.Pairs.NarrowPhasePair
entryA BEPUphysics.BroadPhaseSystems.BroadPhaseEntry First entry in the pair.
entryB BEPUphysics.BroadPhaseSystems.BroadPhaseEntry Second entry in the pair.
return BEPUphysics.NarrowPhaseSystems.Pairs.NarrowPhasePair

GetPairHandler() public static method

Gets a narrow phase pair for a given pair of entries.
public static GetPairHandler ( BEPUphysics.BroadPhaseSystems.BroadPhaseEntry entryA, BEPUphysics.BroadPhaseSystems.BroadPhaseEntry entryB, CollisionRule rule ) : BEPUphysics.NarrowPhaseSystems.Pairs.NarrowPhasePair
entryA BEPUphysics.BroadPhaseSystems.BroadPhaseEntry First entry in the pair.
entryB BEPUphysics.BroadPhaseSystems.BroadPhaseEntry Second entry in the pair.
rule CollisionRule Collision rule governing the pair.
return BEPUphysics.NarrowPhaseSystems.Pairs.NarrowPhasePair

GetPairHandler() public static method

Gets a narrow phase pair for a given broad phase overlap.
public static GetPairHandler ( BroadPhaseOverlap &pair ) : BEPUphysics.NarrowPhaseSystems.Pairs.NarrowPhasePair
pair BroadPhaseOverlap Overlap to use to create the pair.
return BEPUphysics.NarrowPhaseSystems.Pairs.NarrowPhasePair

Intersecting() public static method

Tests the pair of collidables for intersection without regard for collision rules.
public static Intersecting ( CollidablePair &pair ) : bool
pair CollidablePair Pair to test.
return bool