C# 클래스 BEPUphysics.PositionUpdating.ContinuousPositionUpdater

Updates objects according to the position update mode. This allows continuous objects to avoid missing collisions.
상속: PositionUpdater
파일 보기 프로젝트 열기: Indiefreaks/igf 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
MultithreadingThreshold int

공개 메소드들

메소드 설명
Add ( IPositionUpdateable updateable ) : void

Adds an object to the position updater.

ContinuousPositionUpdater ( TimeStepSettings timeStepSettings ) : System

Constructs the position updater.

ContinuousPositionUpdater ( TimeStepSettings timeStepSettings, IThreadManager threadManager ) : System

Constructs the position updater.

Remove ( IPositionUpdateable updateable ) : void

Removes an updateable from the updater.

UpdateableModeChanged ( ICCDPositionUpdateable updateable, PositionUpdateMode previousMode ) : void

Notifies the position updater that an updateable has changed state.

보호된 메소드들

메소드 설명
UpdateMultithreaded ( ) : void
UpdateSingleThreaded ( ) : void

비공개 메소드들

메소드 설명
PreUpdate ( int i ) : void
UpdateContinuousItem ( int i ) : void
UpdateTimeOfImpact ( int i ) : void

메소드 상세

Add() 공개 메소드

Adds an object to the position updater.
Thrown if the updateable already belongs to a position updater.
public Add ( IPositionUpdateable updateable ) : void
updateable IPositionUpdateable Updateable to add.
리턴 void

ContinuousPositionUpdater() 공개 메소드

Constructs the position updater.
public ContinuousPositionUpdater ( TimeStepSettings timeStepSettings ) : System
timeStepSettings TimeStepSettings Time step settings to use.
리턴 System

ContinuousPositionUpdater() 공개 메소드

Constructs the position updater.
public ContinuousPositionUpdater ( TimeStepSettings timeStepSettings, IThreadManager threadManager ) : System
timeStepSettings TimeStepSettings Time step settings to use.
threadManager IThreadManager Thread manager to use.
리턴 System

Remove() 공개 메소드

Removes an updateable from the updater.
Thrown if the updater does not own the updateable.
public Remove ( IPositionUpdateable updateable ) : void
updateable IPositionUpdateable Item to remove.
리턴 void

UpdateMultithreaded() 보호된 메소드

protected UpdateMultithreaded ( ) : void
리턴 void

UpdateSingleThreaded() 보호된 메소드

protected UpdateSingleThreaded ( ) : void
리턴 void

UpdateableModeChanged() 공개 메소드

Notifies the position updater that an updateable has changed state.
public UpdateableModeChanged ( ICCDPositionUpdateable updateable, PositionUpdateMode previousMode ) : void
updateable ICCDPositionUpdateable Updateable with changed state.
previousMode PositionUpdateMode Previous state the updateable was in.
리턴 void

프로퍼티 상세

MultithreadingThreshold 공개적으로 정적으로 프로퍼티

Number of objects in a list required to use multithreading.
public static int MultithreadingThreshold
리턴 int