C# Class Box2D.Dynamics.ContactManager

Delegate of World.
Inheritance: IPairCallback
ファイルを表示 Open project: gerich-home/box2dnet Class Usage Examples

Public Properties

Property Type Description
BroadPhase Box2D.Collision.Broadphase.BroadPhase
ContactCount int
ContactFilter Box2D.Callbacks.ContactFilter
ContactList Box2D.Dynamics.Contacts.Contact
ContactListener IContactListener

Public Methods

Method Description
AddPair ( object proxyUserDataA, object proxyUserDataB ) : void

Broad-phase callback.

Collide ( ) : void

This is the top level collision call for the time step. Here all the narrow phase collision is processed for the world contact list.

ContactManager ( World argPool ) : Box2D.Callbacks
Destroy ( Contact c ) : void
FindNewContacts ( ) : void

Method Details

AddPair() public method

Broad-phase callback.
public AddPair ( object proxyUserDataA, object proxyUserDataB ) : void
proxyUserDataA object
proxyUserDataB object
return void

Collide() public method

This is the top level collision call for the time step. Here all the narrow phase collision is processed for the world contact list.
public Collide ( ) : void
return void

ContactManager() public method

public ContactManager ( World argPool ) : Box2D.Callbacks
argPool World
return Box2D.Callbacks

Destroy() public method

public Destroy ( Contact c ) : void
c Box2D.Dynamics.Contacts.Contact
return void

FindNewContacts() public method

public FindNewContacts ( ) : void
return void

Property Details

BroadPhase public_oe property

public BroadPhase,Box2D.Collision.Broadphase BroadPhase
return Box2D.Collision.Broadphase.BroadPhase

ContactCount public_oe property

public int ContactCount
return int

ContactFilter public_oe property

public ContactFilter,Box2D.Callbacks ContactFilter
return Box2D.Callbacks.ContactFilter

ContactList public_oe property

public Contact,Box2D.Dynamics.Contacts ContactList
return Box2D.Dynamics.Contacts.Contact

ContactListener public_oe property

public IContactListener ContactListener
return IContactListener