Contents

runAction(_:)

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

Declaration

func runAction(_ action: SCNAction)

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