C# Класс BEPUphysics.SolverSystems.SolverUpdateable

Superclass of all objects that live in the solver.
Наследование: ISimulationIslandConnectionOwner, ISpaceObject
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
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