C# 클래스 BEPUphysics.SolverSystems.SolverUpdateable

Superclass of all objects that live in the solver.
상속: ISimulationIslandConnectionOwner, ISpaceObject
파일 보기 프로젝트 열기: Indiefreaks/igf 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
isActive bool
isActiveInSolver bool
simulationIslandConnection BEPUphysics.DeactivationManagement.SimulationIslandConnection
solver Solver
solverSettings BEPUphysics.Constraints.SolverSettings
space ISpace

Private Properties

프로퍼티 타입 설명

공개 메소드들

메소드 설명
EnterLock ( ) : void

Acquires a lock on the solver updateable. This allows operations that need exclusive access to the solver updateable's members.

ExclusiveUpdate ( ) : void

Performs any pre-solve iteration work that needs exclusive access to the members of the solver updateable. Usually, this is used for applying warmstarting impulses.

ExitLock ( ) : void

Releases the lock on the solver updateable.

OnAdditionToSolver ( Solver newSolver ) : void

Called when the updateable is added to a solver.

OnAdditionToSpace ( ISpace newSpace ) : void

Called after the object is added to a space.

OnRemovalFromSolver ( Solver oldSolver ) : void

Called when the updateable is removed from its solver.

OnRemovalFromSpace ( ISpace oldSpace ) : void

Called before an object is removed from its space.

SolveIteration ( ) : float

Computes one iteration of the constraint to meet the solver updateable's goal.

TryEnterLock ( ) : bool

Attempts to acquire a lock on the solver updateable. This allows operations that need exclusive access to the solver updateable's members. If it is contested, it aborts the attempt.

Update ( float dt ) : void

Performs the frame's configuration step.

UpdateSolverActivity ( ) : void

Updates the activity state of the solver updateable based on its members.

보호된 메소드들

메소드 설명
SolverUpdateable ( ) : BEPUphysics.Constraints

메소드 상세

EnterLock() 공개 추상적인 메소드

Acquires a lock on the solver updateable. This allows operations that need exclusive access to the solver updateable's members.
public abstract EnterLock ( ) : void
리턴 void

ExclusiveUpdate() 공개 추상적인 메소드

Performs any pre-solve iteration work that needs exclusive access to the members of the solver updateable. Usually, this is used for applying warmstarting impulses.
public abstract ExclusiveUpdate ( ) : void
리턴 void

ExitLock() 공개 추상적인 메소드

Releases the lock on the solver updateable.
public abstract ExitLock ( ) : void
리턴 void

OnAdditionToSolver() 공개 메소드

Called when the updateable is added to a solver.
public OnAdditionToSolver ( Solver newSolver ) : void
newSolver Solver Solver to which the updateable was added.
리턴 void

OnAdditionToSpace() 공개 메소드

Called after the object is added to a space.
public OnAdditionToSpace ( ISpace newSpace ) : void
newSpace ISpace
리턴 void

OnRemovalFromSolver() 공개 메소드

Called when the updateable is removed from its solver.
public OnRemovalFromSolver ( Solver oldSolver ) : void
oldSolver Solver Solver from which the updateable was removed.
리턴 void

OnRemovalFromSpace() 공개 메소드

Called before an object is removed from its space.
public OnRemovalFromSpace ( ISpace oldSpace ) : void
oldSpace ISpace
리턴 void

SolveIteration() 공개 추상적인 메소드

Computes one iteration of the constraint to meet the solver updateable's goal.
public abstract SolveIteration ( ) : float
리턴 float

SolverUpdateable() 보호된 메소드

protected SolverUpdateable ( ) : BEPUphysics.Constraints
리턴 BEPUphysics.Constraints

TryEnterLock() 공개 추상적인 메소드

Attempts to acquire a lock on the solver updateable. This allows operations that need exclusive access to the solver updateable's members. If it is contested, it aborts the attempt.
public abstract TryEnterLock ( ) : bool
리턴 bool

Update() 공개 추상적인 메소드

Performs the frame's configuration step.
public abstract Update ( float dt ) : void
dt float Timestep duration.
리턴 void

UpdateSolverActivity() 공개 메소드

Updates the activity state of the solver updateable based on its members.
public UpdateSolverActivity ( ) : void
리턴 void

프로퍼티 상세

isActive 보호되어 있는 프로퍼티

protected bool isActive
리턴 bool

isActiveInSolver 보호되어 있는 프로퍼티

protected bool isActiveInSolver
리턴 bool

simulationIslandConnection 보호되어 있는 프로퍼티

protected SimulationIslandConnection,BEPUphysics.DeactivationManagement simulationIslandConnection
리턴 BEPUphysics.DeactivationManagement.SimulationIslandConnection

solver 보호되어 있는 프로퍼티

protected Solver solver
리턴 Solver

solverSettings 보호되어 있는 프로퍼티

protected SolverSettings,BEPUphysics.Constraints solverSettings
리턴 BEPUphysics.Constraints.SolverSettings

space 보호되어 있는 프로퍼티

protected ISpace space
리턴 ISpace