C# Класс BEPUphysics.OtherSpaceStages.ForceUpdater

Applies forces to managed objects.
Наследование: MultithreadedProcessingStage
Показать файл Открыть проект Примеры использования класса

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

Свойство Тип Описание
gravity System.Vector3
timeStepSettings TimeStepSettings

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

Метод Описание
Add ( IForceUpdateable forceUpdateable ) : void

Adds a force updateable to the force updater.

ForceUpdateableBecomingDynamic ( IForceUpdateable updateable ) : void

Notifies the system that a force updateable is becoming dynamic.

ForceUpdateableBecomingKinematic ( IForceUpdateable updateable ) : void

Notifies the system that a force updateable is becoming kinematic.

ForceUpdater ( TimeStepSettings timeStepSettings ) : System

Constructs the force updater.

ForceUpdater ( TimeStepSettings timeStepSettings, IThreadManager threadManager ) : System

Constructs the force updater.

Remove ( IForceUpdateable forceUpdateable ) : void

Removes a force updateable from the force updater.

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

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

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

Метод Описание
UpdateObject ( int i ) : void

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

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

Adds a force updateable to the force updater.
Thrown when the item already belongs to a force updater.
public Add ( IForceUpdateable forceUpdateable ) : void
forceUpdateable IForceUpdateable Item to add.
Результат void

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

Notifies the system that a force updateable is becoming dynamic.
public ForceUpdateableBecomingDynamic ( IForceUpdateable updateable ) : void
updateable IForceUpdateable Updateable changing state.
Результат void

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

Notifies the system that a force updateable is becoming kinematic.
public ForceUpdateableBecomingKinematic ( IForceUpdateable updateable ) : void
updateable IForceUpdateable Updateable changing state.
Результат void

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

Constructs the force updater.
public ForceUpdater ( TimeStepSettings timeStepSettings ) : System
timeStepSettings TimeStepSettings Time step settings to use.
Результат System

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

Constructs the force updater.
public ForceUpdater ( TimeStepSettings timeStepSettings, IThreadManager threadManager ) : System
timeStepSettings TimeStepSettings Time step settings to use.
threadManager IThreadManager Thread manager to use.
Результат System

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

Removes a force updateable from the force updater.
Thrown when the item does not belong to this force updater or its state is corrupted.
public Remove ( IForceUpdateable forceUpdateable ) : void
forceUpdateable IForceUpdateable Item to remove.
Результат void

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

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

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

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

Описание свойств

gravity защищенное свойство

protected Vector3,System gravity
Результат System.Vector3

timeStepSettings защищенное свойство

protected TimeStepSettings timeStepSettings
Результат TimeStepSettings