Instance Property

loops

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

Required.

Declaration

@property(nonatomic) BOOL loops;

Discussion

If the value of this property is YES (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

sceneTime

The current scene time.

Required.

playing

A Boolean value that determines whether the scene is playing.

Required.