C# Class BEPUphysics.SolverSystems.SolverUpdateable

Superclass of all objects that live in the solver.
Inheritance: ISimulationIslandConnectionOwner, ISpaceObject
Afficher le fichier Open project: Indiefreaks/igf Class Usage Examples

Protected Properties

Свойство Type Description
isActive bool
isActiveInSolver bool
simulationIslandConnection BEPUphysics.DeactivationManagement.SimulationIslandConnection
solver Solver
solverSettings BEPUphysics.Constraints.SolverSettings
space ISpace

Private Properties

Свойство Type Description

Méthodes publiques

Méthode Description
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.

Méthodes protégées

Méthode Description
SolverUpdateable ( ) : BEPUphysics.Constraints

Method Details

EnterLock() public abstract méthode

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

ExclusiveUpdate() public abstract méthode

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
Résultat void

ExitLock() public abstract méthode

Releases the lock on the solver updateable.
public abstract ExitLock ( ) : void
Résultat void

OnAdditionToSolver() public méthode

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

OnAdditionToSpace() public méthode

Called after the object is added to a space.
public OnAdditionToSpace ( ISpace newSpace ) : void
newSpace ISpace
Résultat void

OnRemovalFromSolver() public méthode

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

OnRemovalFromSpace() public méthode

Called before an object is removed from its space.
public OnRemovalFromSpace ( ISpace oldSpace ) : void
oldSpace ISpace
Résultat void

SolveIteration() public abstract méthode

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

SolverUpdateable() protected méthode

protected SolverUpdateable ( ) : BEPUphysics.Constraints
Résultat BEPUphysics.Constraints

TryEnterLock() public abstract méthode

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
Résultat bool

Update() public abstract méthode

Performs the frame's configuration step.
public abstract Update ( float dt ) : void
dt float Timestep duration.
Résultat void

UpdateSolverActivity() public méthode

Updates the activity state of the solver updateable based on its members.
public UpdateSolverActivity ( ) : void
Résultat void

Property Details

isActive protected_oe property

protected bool isActive
Résultat bool

isActiveInSolver protected_oe property

protected bool isActiveInSolver
Résultat bool

simulationIslandConnection protected_oe property

protected SimulationIslandConnection,BEPUphysics.DeactivationManagement simulationIslandConnection
Résultat BEPUphysics.DeactivationManagement.SimulationIslandConnection

solver protected_oe property

protected Solver solver
Résultat Solver

solverSettings protected_oe property

protected SolverSettings,BEPUphysics.Constraints solverSettings
Résultat BEPUphysics.Constraints.SolverSettings

space protected_oe property

protected ISpace space
Résultat ISpace