C# Class Box2DX.Dynamics.Island

Inheritance: IDisposable
Datei anzeigen Open project: KrugerHeavyIndustries/box2d-unity Class Usage Examples

Public Properties

Property Type Description
_bodies Box2DX.Dynamics.Body[]
_bodyCapacity int
_bodyCount int
_contactCapacity int
_contactCount int
_contacts Box2DX.Dynamics.Contact[]
_jointCapacity int
_jointCount int
_joints Box2DX.Dynamics.Joint[]
_listener ContactListener
_positionIterationCount int
_positions Box2DX.Dynamics.Position[]
_velocities Box2DX.Dynamics.Velocity[]

Private Properties

Property Type Description

Public Methods

Method Description
Add ( Body body ) : void
Add ( Contact contact ) : void
Add ( Joint joint ) : void
Clear ( ) : void
Dispose ( ) : void
Island ( int bodyCapacity, int contactCapacity, int jointCapacity, ContactListener listener ) : System
Report ( ContactConstraint constraints ) : void
Solve ( TimeStep step, System.Vector2 gravity, bool allowSleep ) : void

Method Details

Add() public method

public Add ( Body body ) : void
body Body
return void

Add() public method

public Add ( Contact contact ) : void
contact Contact
return void

Add() public method

public Add ( Joint joint ) : void
joint Joint
return void

Clear() public method

public Clear ( ) : void
return void

Dispose() public method

public Dispose ( ) : void
return void

Island() public method

public Island ( int bodyCapacity, int contactCapacity, int jointCapacity, ContactListener listener ) : System
bodyCapacity int
contactCapacity int
jointCapacity int
listener ContactListener
return System

Report() public method

public Report ( ContactConstraint constraints ) : void
constraints ContactConstraint
return void

Solve() public method

public Solve ( TimeStep step, System.Vector2 gravity, bool allowSleep ) : void
step TimeStep
gravity System.Vector2
allowSleep bool
return void

Property Details

_bodies public_oe property

public Body[],Box2DX.Dynamics _bodies
return Box2DX.Dynamics.Body[]

_bodyCapacity public_oe property

public int _bodyCapacity
return int

_bodyCount public_oe property

public int _bodyCount
return int

_contactCapacity public_oe property

public int _contactCapacity
return int

_contactCount public_oe property

public int _contactCount
return int

_contacts public_oe property

public Contact[],Box2DX.Dynamics _contacts
return Box2DX.Dynamics.Contact[]

_jointCapacity public_oe property

public int _jointCapacity
return int

_jointCount public_oe property

public int _jointCount
return int

_joints public_oe property

public Joint[],Box2DX.Dynamics _joints
return Box2DX.Dynamics.Joint[]

_listener public_oe property

public ContactListener,Box2DX.Dynamics _listener
return ContactListener

_positionIterationCount public_oe property

public int _positionIterationCount
return int

_positions public_oe property

public Position[],Box2DX.Dynamics _positions
return Box2DX.Dynamics.Position[]

_velocities public_oe property

public Velocity[],Box2DX.Dynamics _velocities
return Box2DX.Dynamics.Velocity[]