C# Класс BEPUphysics.DeactivationManagement.DeactivationManager

Manages the sleeping states of objects.
Наследование: MultithreadedProcessingStage
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
Add ( BEPUphysics.DeactivationManagement.SimulationIslandConnection connection ) : void

Adds a simulation island connection to the deactivation manager.

Add ( SimulationIslandMember simulationIslandMember ) : void

Adds a simulation island member to the manager.

AddSimulationIslandToMember ( SimulationIslandMember member ) : void

Adds a simulation island to a member.

DeactivationManager ( TimeStepSettings timeStepSettings ) : System

Constructs a deactivation manager.

DeactivationManager ( TimeStepSettings timeStepSettings, IThreadManager threadManager ) : System

Constructs a deactivation manager.

Remove ( BEPUphysics.DeactivationManagement.SimulationIslandConnection connection ) : void

Removes a simulation island connection from the manager.

Remove ( SimulationIslandMember simulationIslandMember ) : void

Removes the member from this island.

RemoveSimulationIslandFromMember ( SimulationIslandMember member ) : void

Strips a member of its simulation island.

Защищенные методы

Метод Описание
UpdateMultithreaded ( ) : void
UpdateSingleThreaded ( ) : void

Приватные методы

Метод Описание
DeactivateObjects ( ) : void
FlushSplits ( ) : void
GiveBackIsland ( SimulationIsland island ) : void
Merge ( SimulationIsland s1, SimulationIsland s2 ) : SimulationIsland
MultithreadedCandidacyLoop ( int i ) : void
TryToSplit ( SimulationIslandMember member1, SimulationIslandMember member2 ) : bool

Tries to split connections between the two island members.

Описание методов

Add() публичный Метод

Adds a simulation island connection to the deactivation manager.
Thrown if the connection already belongs to a manager.
public Add ( BEPUphysics.DeactivationManagement.SimulationIslandConnection connection ) : void
connection BEPUphysics.DeactivationManagement.SimulationIslandConnection Connection to add.
Результат void

Add() публичный Метод

Adds a simulation island member to the manager.
Thrown if the member already belongs to a manager.
public Add ( SimulationIslandMember simulationIslandMember ) : void
simulationIslandMember SimulationIslandMember Member to add.
Результат void

AddSimulationIslandToMember() публичный Метод

Adds a simulation island to a member.
Thrown if the member already has a simulation island.
public AddSimulationIslandToMember ( SimulationIslandMember member ) : void
member SimulationIslandMember Member to gain a simulation island.
Результат void

DeactivationManager() публичный Метод

Constructs a deactivation manager.
public DeactivationManager ( TimeStepSettings timeStepSettings ) : System
timeStepSettings TimeStepSettings The time step settings used by the manager.
Результат System

DeactivationManager() публичный Метод

Constructs a deactivation manager.
public DeactivationManager ( TimeStepSettings timeStepSettings, IThreadManager threadManager ) : System
timeStepSettings TimeStepSettings The time step settings used by the manager.
threadManager IThreadManager Thread manager used by the manager.
Результат System

Remove() публичный Метод

Removes a simulation island connection from the manager.
Thrown if the connection does not belong to this manager.
public Remove ( BEPUphysics.DeactivationManagement.SimulationIslandConnection connection ) : void
connection BEPUphysics.DeactivationManagement.SimulationIslandConnection Connection to remove from the manager.
Результат void

Remove() публичный Метод

Removes the member from this island.
public Remove ( SimulationIslandMember simulationIslandMember ) : void
simulationIslandMember SimulationIslandMember Removes the member from the manager.
Результат void

RemoveSimulationIslandFromMember() публичный Метод

Strips a member of its simulation island.
public RemoveSimulationIslandFromMember ( SimulationIslandMember member ) : void
member SimulationIslandMember Member to be stripped.
Результат void

UpdateMultithreaded() защищенный Метод

protected UpdateMultithreaded ( ) : void
Результат void

UpdateSingleThreaded() защищенный Метод

protected UpdateSingleThreaded ( ) : void
Результат void