Type Method

repeatActionForever:

Creates an action that repeats another action forever.

Declaration

+ (SCNAction *)repeatActionForever:(SCNAction *)action;

Parameters

action

The action to execute.

Return Value

A new action object.

Discussion

When the action executes, the associated action runs to completion and then repeats.

This action is reversible; it creates a new action that is the reverse of the specified action and then repeats it forever.

See Also

Creating Actions That Combine or Repeat Other Actions

+ group:

Creates an action that runs a collection of actions in parallel.

+ sequence:

Creates an action that runs a collection of actions sequentially.

+ repeatAction:count:

Creates an action that repeats another action a specified number of times.