C# Класс BEPUphysics.OtherSpaceStages.SpaceObjectBuffer

Thead-safely buffers up space objects for addition and removal.
Наследование: ProcessingStage
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Защищенные методы

Метод Описание
UpdateStage ( ) : void

Описание методов

Add() публичный Метод

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.
Результат void

Remove() публичный Метод

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.
Результат void

SpaceObjectBuffer() публичный Метод

Constructs the buffer.
public SpaceObjectBuffer ( ISpace space ) : BEPUutilities
space ISpace Space that owns the buffer.
Результат BEPUutilities

UpdateStage() защищенный Метод

protected UpdateStage ( ) : void
Результат void