C# Class BEPUphysics.PositionUpdating.ContinuousPositionUpdater

Updates objects according to the position update mode. This allows continuous objects to avoid missing collisions.
Inheritance: PositionUpdater
Afficher le fichier Open project: Indiefreaks/igf Class Usage Examples

Méthodes publiques

Свойство Type Description
MultithreadingThreshold int

Méthodes publiques

Méthode Description
Add ( IPositionUpdateable updateable ) : void

Adds an object to the position updater.

ContinuousPositionUpdater ( TimeStepSettings timeStepSettings ) : System

Constructs the position updater.

ContinuousPositionUpdater ( TimeStepSettings timeStepSettings, IThreadManager threadManager ) : System

Constructs the position updater.

Remove ( IPositionUpdateable updateable ) : void

Removes an updateable from the updater.

UpdateableModeChanged ( ICCDPositionUpdateable updateable, PositionUpdateMode previousMode ) : void

Notifies the position updater that an updateable has changed state.

Méthodes protégées

Méthode Description
UpdateMultithreaded ( ) : void
UpdateSingleThreaded ( ) : void

Private Methods

Méthode Description
PreUpdate ( int i ) : void
UpdateContinuousItem ( int i ) : void
UpdateTimeOfImpact ( int i ) : void

Method Details

Add() public méthode

Adds an object to the position updater.
Thrown if the updateable already belongs to a position updater.
public Add ( IPositionUpdateable updateable ) : void
updateable IPositionUpdateable Updateable to add.
Résultat void

ContinuousPositionUpdater() public méthode

Constructs the position updater.
public ContinuousPositionUpdater ( TimeStepSettings timeStepSettings ) : System
timeStepSettings TimeStepSettings Time step settings to use.
Résultat System

ContinuousPositionUpdater() public méthode

Constructs the position updater.
public ContinuousPositionUpdater ( TimeStepSettings timeStepSettings, IThreadManager threadManager ) : System
timeStepSettings TimeStepSettings Time step settings to use.
threadManager IThreadManager Thread manager to use.
Résultat System

Remove() public méthode

Removes an updateable from the updater.
Thrown if the updater does not own the updateable.
public Remove ( IPositionUpdateable updateable ) : void
updateable IPositionUpdateable Item to remove.
Résultat void

UpdateMultithreaded() protected méthode

protected UpdateMultithreaded ( ) : void
Résultat void

UpdateSingleThreaded() protected méthode

protected UpdateSingleThreaded ( ) : void
Résultat void

UpdateableModeChanged() public méthode

Notifies the position updater that an updateable has changed state.
public UpdateableModeChanged ( ICCDPositionUpdateable updateable, PositionUpdateMode previousMode ) : void
updateable ICCDPositionUpdateable Updateable with changed state.
previousMode PositionUpdateMode Previous state the updateable was in.
Résultat void

Property Details

MultithreadingThreshold public_oe static_oe property

Number of objects in a list required to use multithreading.
public static int MultithreadingThreshold
Résultat int