Instance Property

isPlaying

A Boolean value that determines whether the scene is playing.

Declaration

var isPlaying: Bool { get set }

Discussion

If the value of this property is false (the default), SceneKit does not increment the scene time, so animations associated with the scene do not play. Change this property’s value to true to start animating the scene.

See Also

Animating a 3D Node’s Content in Scene Kit

var loops: Bool

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

var sceneTime: TimeInterval

The current scene time.