Instance Method

runAction:

Adds an action to the list of actions executed by the node.

Required.

Declaration

- (void)runAction:(SCNAction *)action;

Parameters

action

The action to be performed.

Discussion

SceneKit begins running a newly added action when it prepares to render the next frame.

See Also

Running Actions

- runAction:completionHandler:

Adds an action to the list of actions executed by the node. SceneKit calls the specified block when the action completes.

Required.

- runAction:forKey:

Adds an identifiable action to the list of actions executed by the node.

Required.

- runAction:forKey:completionHandler:

Adds an identifiable action to the list of actions executed by the node. SceneKit calls the specified block when the action completes.

Required.