C# Класс BEPUphysics.EntityStateManagement.StateReadBuffers

Manages the buffered states of entities.
Наследование: MultithreadedProcessingStage
Показать файл Открыть проект Примеры использования класса

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

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

Acquires a lock on the FlipLocker and forces the internal buffers to flip.

GetState ( int motionStateIndex ) : MotionState

Gets the state of the entity associated with the given index. Does not lock the FlipLocker.

GetStates ( MotionState states ) : void

Gets the states of all entities atomically.

StateReadBuffers ( BufferedStatesManager manager ) : System

Constructs a read buffer manager.

StateReadBuffers ( BufferedStatesManager manager, IThreadManager threadManager ) : System

Constructs a read buffer manager.

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

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

Приватные методы

Метод Описание
Add ( Entity e ) : void
Disable ( ) : void
Enable ( ) : void
MultithreadedStateUpdate ( int i ) : void
Remove ( int index, int endIndex ) : void

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

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

Acquires a lock on the FlipLocker and forces the internal buffers to flip.
public FlipBuffers ( ) : void
Результат void

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

Gets the state of the entity associated with the given index. Does not lock the FlipLocker.
public GetState ( int motionStateIndex ) : MotionState
motionStateIndex int Index of the entity.
Результат MotionState

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

Gets the states of all entities atomically.
Thrown when the array is too small.
public GetStates ( MotionState states ) : void
states MotionState Entity states.
Результат void

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

Constructs a read buffer manager.
public StateReadBuffers ( BufferedStatesManager manager ) : System
manager BufferedStatesManager Owning buffered states manager.
Результат System

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

Constructs a read buffer manager.
public StateReadBuffers ( BufferedStatesManager manager, IThreadManager threadManager ) : System
manager BufferedStatesManager Owning buffered states manager.
threadManager IThreadManager Thread manager to use.
Результат System

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

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

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

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