Contents

targetClock

The clock that this simulation attempts to follow.

Declaration

var targetClock: CMClockOrTimebase { get set }

Discussion

The tempo of this clock can be adjusted to slow down or completely pause the simulation. The simulation may not be able to perfectly follow the target clock due to maximumStepsPerUpdate.

Defaults to the RealityKit engine clock.

See Also

Synchronizing the clock