Package apple.scenekit.protocol
Interface SCNActionable
-
- All Known Implementing Classes:
SCNNode,SCNReferenceNode
public interface SCNActionable
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceSCNActionable.Block_runActionCompletionHandlerstatic interfaceSCNActionable.Block_runActionForKeyCompletionHandler
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SCNActionactionForKey(java.lang.String key)actionForKey: Returns an action associated with a specific key.NSArray<java.lang.String>actionKeys()[@property] actionKeys Returns an array containing the keys of all actions currently attached to the receiver.booleanhasActions()[@property] hasActions Returns a Boolean value that indicates whether the node is executing actions.voidremoveActionForKey(java.lang.String key)removeActionForKey: Removes an action associated with a specific key.voidremoveAllActions()removeAllActions Ends and removes all actions from the node.voidrunAction(SCNAction action)runAction: Adds an action to the list of actions executed by the node.voidrunActionCompletionHandler(SCNAction action, SCNActionable.Block_runActionCompletionHandler block)runAction:completionHandler: Adds an action to the list of actions executed by the node.voidrunActionForKey(SCNAction action, java.lang.String key)runAction:forKey: Adds an identifiable action to the list of actions executed by the node.voidrunActionForKeyCompletionHandler(SCNAction action, java.lang.String key, SCNActionable.Block_runActionForKeyCompletionHandler block)runAction:forKey:completionHandler: Adds an identifiable action to the list of actions executed by the node.
-
-
-
Method Detail
-
actionForKey
SCNAction actionForKey(java.lang.String key)
actionForKey: Returns an action associated with a specific key.
-
actionKeys
NSArray<java.lang.String> actionKeys()
[@property] actionKeys Returns an array containing the keys of all actions currently attached to the receiver.
-
hasActions
boolean hasActions()
[@property] hasActions Returns a Boolean value that indicates whether the node is executing actions.
-
removeActionForKey
void removeActionForKey(java.lang.String key)
removeActionForKey: Removes an action associated with a specific key.
-
removeAllActions
void removeAllActions()
removeAllActions Ends and removes all actions from the node.
-
runAction
void runAction(SCNAction action)
runAction: Adds an action to the list of actions executed by the node.
-
runActionCompletionHandler
void runActionCompletionHandler(SCNAction action, SCNActionable.Block_runActionCompletionHandler block)
runAction:completionHandler: Adds an action to the list of actions executed by the node. Your block is called when the action completes.
-
runActionForKey
void runActionForKey(SCNAction action, java.lang.String key)
runAction:forKey: Adds an identifiable action to the list of actions executed by the node.
-
runActionForKeyCompletionHandler
void runActionForKeyCompletionHandler(SCNAction action, java.lang.String key, SCNActionable.Block_runActionForKeyCompletionHandler block)
runAction:forKey:completionHandler: Adds an identifiable action to the list of actions executed by the node. Your block is called when the action completes.
-
-