Instance Property


A Boolean value that determines whether SceneKit restarts the scene time after all animations in the scene have played.



var loops: Bool { get set }


If the value of this property is true (the default), SceneKit returns the scene time to zero after all animations associated with the scene have played, causing those animations to repeat. Otherwise, SceneKit stops playing the scene when all animations have completed.

See Also

Managing Scene Animation Timing

var sceneTime: TimeInterval

The current scene time.


var isPlaying: Bool

A Boolean value that determines whether the scene is playing.


Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software