Instance Method

reversed()

Creates an action that reverses the behavior of another action.

Declaration

func reversed() -> SCNAction

Return Value

A new action that reverses the action’s behavior.

Discussion

This method always returns an action object; however, not all actions are reversible. When reversed, some actions return an object that either does nothing or performs the same action as the original action. For details on how an action is reversed, see the description of the class method used to create that action.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software