C# Класс BEPUphysics.TimeStepSettings

Contains settings for the instance's time step.
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
AccumulatedTime float
MaximumTimeStepsPerFrame int
TimeStepDuration float

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

AccumulatedTime публичное свойство

Amount of time accumulated by previous calls to Space.Update(float) that has not yet been simulated.
public float AccumulatedTime
Результат float

MaximumTimeStepsPerFrame публичное свойство

Maximum number of timesteps to perform during a given frame when Space.Update(float) is used. The unsimulated time will be accumulated for subsequent calls to Space.Update(float). Defaults to 3.
public int MaximumTimeStepsPerFrame
Результат int

TimeStepDuration публичное свойство

Length of each integration step. Calling a Space's Update() method moves time forward this much. The other method, Space.Update(float), will try to move time forward by the amount specified in the parameter by taking steps of TimeStepDuration size. Defaults to 1/60.
public float TimeStepDuration
Результат float