Instance Property

loops

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

Required.

Declaration

var loops: Bool { get set }

Discussion

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.

Required.

var isPlaying: Bool

A Boolean value that determines whether the scene is playing.

Required.

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