C# Class BEPUphysics.DeactivationManagement.SimulationIsland

A collection of simulation island members bound together with connections. An island is activated and deactivated as a group.
Mostrar archivo Open project: Indiefreaks/igf Class Usage Examples

Private Properties

Property Type Description
BecameDeactivationCandidate void
BecameNonDeactivationCandidate void
CleanUp void
MemberActivated void

Public Methods

Method Description
Activate ( ) : void

Activates the simulation island.

Add ( SimulationIslandMember member ) : void

Adds a member to the simulation island.

Remove ( SimulationIslandMember member ) : void

Removes a member from the simulation island.

SimulationIsland ( ) : System

Constructs a simulation island.

TryToDeactivate ( ) : bool

Attempts to deactivate the simulation island.

Private Methods

Method Description
BecameDeactivationCandidate ( SimulationIslandMember member ) : void
BecameNonDeactivationCandidate ( SimulationIslandMember member ) : void
CleanUp ( ) : void
MemberActivated ( SimulationIslandMember member ) : void

Method Details

Activate() public method

Activates the simulation island.
public Activate ( ) : void
return void

Add() public method

Adds a member to the simulation island.
Thrown when the member being added is either non-dynamic or already has a simulation island.
public Add ( SimulationIslandMember member ) : void
member SimulationIslandMember Member to add.
return void

Remove() public method

Removes a member from the simulation island.
Thrown when the member does not belong to this simulation island.
public Remove ( SimulationIslandMember member ) : void
member SimulationIslandMember Member to remove.
return void

SimulationIsland() public method

Constructs a simulation island.
public SimulationIsland ( ) : System
return System

TryToDeactivate() public method

Attempts to deactivate the simulation island.
public TryToDeactivate ( ) : bool
return bool