C# Class Jitter.Collision.CollisionIsland

Holds a list of bodies which are in contact with each other.
Mostrar archivo Open project: tpb3d/TPB3D

Public Properties

Property Type Description
Pool ResourcePool

Public Methods

Method Description
CollisionIsland ( ) : System

Constructor of CollisionIsland class.

IsActive ( ) : bool

Whether the island is active or not.

SetStatus ( bool active ) : void

Sets the status of every body in this island to active or inactive.

Private Methods

Method Description
ClearLists ( ) : void

Method Details

CollisionIsland() public method

Constructor of CollisionIsland class.
public CollisionIsland ( ) : System
return System

IsActive() public method

Whether the island is active or not.
public IsActive ( ) : bool
return bool

SetStatus() public method

Sets the status of every body in this island to active or inactive.
public SetStatus ( bool active ) : void
active bool If true the island gets activated, if false it /// gets deactivated.
return void

Property Details

Pool public_oe static_oe property

A CollisionIsland pool.
public static ResourcePool Pool
return ResourcePool