C# Class Project290.Physics.Dynamics.ContactManager

ファイルを表示 Open project: scastle/Solitude Class Usage Examples

Public Properties

Property Type Description
BeginContact BeginContactDelegate
BroadPhase BroadPhase
ContactCount int
ContactFilter CollisionFilterDelegate
ContactList Project290.Physics.Dynamics.Contacts.Contact
EndContact EndContactDelegate
OnBroadphaseCollision BroadphaseDelegate
PostSolve PostSolveDelegate
PreSolve PreSolveDelegate

Private Methods

Method Description
AddPair ( FixtureProxy &proxyA, FixtureProxy &proxyB ) : void
Collide ( ) : void
ContactManager ( ) : Project290.Physics.Collision
Destroy ( Contact contact ) : void
FindNewContacts ( ) : void
ShouldCollide ( Fixture fixtureA, Fixture fixtureB ) : bool

Property Details

BeginContact public_oe property

Fires when a contact is created
public BeginContactDelegate BeginContact
return BeginContactDelegate

BroadPhase public_oe property

public BroadPhase BroadPhase
return BroadPhase

ContactCount public_oe property

public int ContactCount
return int

ContactFilter public_oe property

The filter used by the contact manager.
public CollisionFilterDelegate ContactFilter
return CollisionFilterDelegate

ContactList public_oe property

public Contact,Project290.Physics.Dynamics.Contacts ContactList
return Project290.Physics.Dynamics.Contacts.Contact

EndContact public_oe property

Fires when a contact is deleted
public EndContactDelegate EndContact
return EndContactDelegate

OnBroadphaseCollision public_oe property

Fires when the broadphase detects that two Fixtures are close to each other.
public BroadphaseDelegate OnBroadphaseCollision
return BroadphaseDelegate

PostSolve public_oe property

Fires after the solver has run
public PostSolveDelegate PostSolve
return PostSolveDelegate

PreSolve public_oe property

Fires before the solver runs
public PreSolveDelegate PreSolve
return PreSolveDelegate