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 @Nullable SCNActionactionForKey(@NotNull java.lang.String key)actionForKey: Returns an action associated with a specific key.@NotNull 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(@NotNull java.lang.String key)removeActionForKey: Removes an action associated with a specific key.voidremoveAllActions()removeAllActions Ends and removes all actions from the node.voidrunAction(@NotNull SCNAction action)runAction: Adds an action to the list of actions executed by the node.voidrunActionCompletionHandler(@NotNull SCNAction action, @Nullable SCNActionable.Block_runActionCompletionHandler block)runAction:completionHandler: Adds an action to the list of actions executed by the node.voidrunActionForKey(@NotNull SCNAction action, @Nullable java.lang.String key)runAction:forKey: Adds an identifiable action to the list of actions executed by the node.voidrunActionForKeyCompletionHandler(@NotNull SCNAction action, @Nullable java.lang.String key, @Nullable SCNActionable.Block_runActionForKeyCompletionHandler block)runAction:forKey:completionHandler: Adds an identifiable action to the list of actions executed by the node.
-
-
-
Method Detail
-
actionForKey
@Nullable @Nullable SCNAction actionForKey(@NotNull @NotNull java.lang.String key)
actionForKey: Returns an action associated with a specific key.
-
actionKeys
@NotNull @NotNull 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(@NotNull @NotNull 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(@NotNull @NotNull SCNAction action)runAction: Adds an action to the list of actions executed by the node.
-
runActionCompletionHandler
void runActionCompletionHandler(@NotNull @NotNull SCNAction action, @Nullable @Nullable 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(@NotNull @NotNull SCNAction action, @Nullable @Nullable java.lang.String key)runAction:forKey: Adds an identifiable action to the list of actions executed by the node.
-
runActionForKeyCompletionHandler
void runActionForKeyCompletionHandler(@NotNull @NotNull SCNAction action, @Nullable @Nullable java.lang.String key, @Nullable @Nullable 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.
-
-