C# Class BEPUphysics.OtherSpaceStages.ForceUpdater

Applies forces to managed objects.
Inheritance: MultithreadedProcessingStage
Mostrar archivo Open project: Indiefreaks/igf Class Usage Examples

Protected Properties

Property Type Description
gravity System.Vector3
timeStepSettings TimeStepSettings

Public Methods

Method Description
Add ( IForceUpdateable forceUpdateable ) : void

Adds a force updateable to the force updater.

ForceUpdateableBecomingDynamic ( IForceUpdateable updateable ) : void

Notifies the system that a force updateable is becoming dynamic.

ForceUpdateableBecomingKinematic ( IForceUpdateable updateable ) : void

Notifies the system that a force updateable is becoming kinematic.

ForceUpdater ( TimeStepSettings timeStepSettings ) : System

Constructs the force updater.

ForceUpdater ( TimeStepSettings timeStepSettings, IThreadManager threadManager ) : System

Constructs the force updater.

Remove ( IForceUpdateable forceUpdateable ) : void

Removes a force updateable from the force updater.

Protected Methods

Method Description
UpdateMultithreaded ( ) : void
UpdateSingleThreaded ( ) : void

Private Methods

Method Description
UpdateObject ( int i ) : void

Method Details

Add() public method

Adds a force updateable to the force updater.
Thrown when the item already belongs to a force updater.
public Add ( IForceUpdateable forceUpdateable ) : void
forceUpdateable IForceUpdateable Item to add.
return void

ForceUpdateableBecomingDynamic() public method

Notifies the system that a force updateable is becoming dynamic.
public ForceUpdateableBecomingDynamic ( IForceUpdateable updateable ) : void
updateable IForceUpdateable Updateable changing state.
return void

ForceUpdateableBecomingKinematic() public method

Notifies the system that a force updateable is becoming kinematic.
public ForceUpdateableBecomingKinematic ( IForceUpdateable updateable ) : void
updateable IForceUpdateable Updateable changing state.
return void

ForceUpdater() public method

Constructs the force updater.
public ForceUpdater ( TimeStepSettings timeStepSettings ) : System
timeStepSettings TimeStepSettings Time step settings to use.
return System

ForceUpdater() public method

Constructs the force updater.
public ForceUpdater ( TimeStepSettings timeStepSettings, IThreadManager threadManager ) : System
timeStepSettings TimeStepSettings Time step settings to use.
threadManager IThreadManager Thread manager to use.
return System

Remove() public method

Removes a force updateable from the force updater.
Thrown when the item does not belong to this force updater or its state is corrupted.
public Remove ( IForceUpdateable forceUpdateable ) : void
forceUpdateable IForceUpdateable Item to remove.
return void

UpdateMultithreaded() protected method

protected UpdateMultithreaded ( ) : void
return void

UpdateSingleThreaded() protected method

protected UpdateSingleThreaded ( ) : void
return void

Property Details

gravity protected_oe property

protected Vector3,System gravity
return System.Vector3

timeStepSettings protected_oe property

protected TimeStepSettings timeStepSettings
return TimeStepSettings