C# 클래스 BEPUphysics.OtherSpaceStages.SpaceObjectBuffer

Thead-safely buffers up space objects for addition and removal.
상속: ProcessingStage
파일 보기 프로젝트 열기: Indiefreaks/igf 1 사용 예제들

공개 메소드들

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