Instance Property

loops

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

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

Animating a 3D Node’s Content in Scene Kit

var isPlaying: Bool

A Boolean value that determines whether the scene is playing.

var sceneTime: TimeInterval

The current scene time.