fastForward(stepCount:stepDeltaTime:)
Advances the particle simulation by multiple steps in a single operation.
Declaration
mutating func fastForward(stepCount: Int, stepDeltaTime: Float)Parameters
- stepCount:
The number of simulation steps to execute. Each step represents one iteration of the simulation update cycle. Must be positive.
- stepDeltaTime:
The time interval (in seconds) to use for each simulation step.