C# 클래스 BEPUphysics.EntityStateManagement.StateReadBuffers

Manages the buffered states of entities.
상속: MultithreadedProcessingStage
파일 보기 프로젝트 열기: Indiefreaks/igf 1 사용 예제들

공개 메소드들

메소드 설명
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