C# Class BEPUphysics.TimeStepSettings

Contains settings for the instance's time step.
显示文件 Open project: tonypeng/Bloxel Class Usage Examples

Public Properties

Property Type Description
AccumulatedTime float
MaximumTimeStepsPerFrame int
TimeStepDuration float

Property Details

AccumulatedTime public_oe property

Amount of time accumulated by previous calls to Space.Update(float) that has not yet been simulated.
public float AccumulatedTime
return float

MaximumTimeStepsPerFrame public_oe property

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
return int

TimeStepDuration public_oe property

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
return float