C# Class BEPUphysics.OtherSpaceStages.SpaceObjectBuffer

Thead-safely buffers up space objects for addition and removal.
Inheritance: ProcessingStage
Afficher le fichier Open project: Indiefreaks/igf Class Usage Examples

Méthodes publiques

Méthode Description
Add ( ISpaceObject spaceObject ) : void

Adds a space object to the buffer. It will be added to the space the next time the buffer is flushed.

Remove ( ISpaceObject spaceObject ) : void

Enqueues a removal request to the buffer. It will be processed the next time the buffer is flushed.

SpaceObjectBuffer ( ISpace space ) : BEPUutilities

Constructs the buffer.

Méthodes protégées

Méthode Description
UpdateStage ( ) : void

Method Details

Add() public méthode

Adds a space object to the buffer. It will be added to the space the next time the buffer is flushed.
public Add ( ISpaceObject spaceObject ) : void
spaceObject ISpaceObject Space object to add.
Résultat void

Remove() public méthode

Enqueues a removal request to the buffer. It will be processed the next time the buffer is flushed.
public Remove ( ISpaceObject spaceObject ) : void
spaceObject ISpaceObject Space object to remove.
Résultat void

SpaceObjectBuffer() public méthode

Constructs the buffer.
public SpaceObjectBuffer ( ISpace space ) : BEPUutilities
space ISpace Space that owns the buffer.
Résultat BEPUutilities

UpdateStage() protected méthode

protected UpdateStage ( ) : void
Résultat void