C# Class FarseerPhysics.Dynamics.ContactManager

Afficher le fichier Open project: prime31/Nez Class Usage Examples

Méthodes publiques

Свойство Type Description
ActiveContacts HashSet
broadPhase IBroadPhase
contactList List
onBeginContact BeginContactDelegate
onBroadphaseCollision BroadphaseDelegate
onContactFilter CollisionFilterDelegate
onEndContact EndContactDelegate
onPostSolve PostSolveDelegate
onPreSolve PreSolveDelegate

Méthodes publiques

Méthode Description
addPair ( FixtureProxy &proxyA, FixtureProxy &proxyB ) : void
shouldCollide ( Fixture fixtureA, Fixture fixtureB ) : bool

Private Methods

Méthode Description
ContactManager ( IBroadPhase broadPhase ) : System.Collections.Generic
RemoveActiveContact ( Contact contact ) : void
collide ( ) : void
destroy ( Contact contact ) : void
findNewContacts ( ) : void
updateContacts ( ContactEdge contactEdge, bool value ) : void

Method Details

addPair() public méthode

public addPair ( FixtureProxy &proxyA, FixtureProxy &proxyB ) : void
proxyA FixtureProxy
proxyB FixtureProxy
Résultat void

shouldCollide() public static méthode

public static shouldCollide ( Fixture fixtureA, Fixture fixtureB ) : bool
fixtureA Fixture
fixtureB Fixture
Résultat bool

Property Details

ActiveContacts public_oe property

The set of active contacts.
public HashSet ActiveContacts
Résultat HashSet

broadPhase public_oe property

public IBroadPhase broadPhase
Résultat IBroadPhase

contactList public_oe property

public List contactList
Résultat List

onBeginContact public_oe property

Fires when a contact is created
public BeginContactDelegate onBeginContact
Résultat BeginContactDelegate

onBroadphaseCollision public_oe property

Fires when the broadphase detects that two Fixtures are close to each other.
public BroadphaseDelegate onBroadphaseCollision
Résultat BroadphaseDelegate

onContactFilter public_oe property

The filter used by the contact manager.
public CollisionFilterDelegate onContactFilter
Résultat CollisionFilterDelegate

onEndContact public_oe property

Fires when a contact is deleted
public EndContactDelegate onEndContact
Résultat EndContactDelegate

onPostSolve public_oe property

Fires after the solver has run
public PostSolveDelegate onPostSolve
Résultat PostSolveDelegate

onPreSolve public_oe property

Fires before the solver runs
public PreSolveDelegate onPreSolve
Résultat PreSolveDelegate