Modifier

Partager via


SCNNode.RunAction Method

Definition

Overloads

RunAction(SCNAction, String, Action)

Adds the provided action to the node, indexes it with the provided key, and runs the provide block after the operation completes.

RunAction(SCNAction, String)

Adds the provided action to the node and indexes it with the provided key.

RunAction(SCNAction, Action)

Adds the provided action to the node and runs block after the operation completes.

RunAction(SCNAction)

Adds the provided action to the node.

RunAction(SCNAction, String, Action)

Adds the provided action to the node, indexes it with the provided key, and runs the provide block after the operation completes.

[Foundation.Export("runAction:forKey:completionHandler:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.WatchOS, 3, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 10, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void RunAction (SceneKit.SCNAction action, string key, Action block);
abstract member RunAction : SceneKit.SCNAction * string * Action -> unit
override this.RunAction : SceneKit.SCNAction * string * Action -> unit

Parameters

action
SCNAction
key
String
block
Action

Implements

Attributes

Applies to

RunAction(SCNAction, String)

Adds the provided action to the node and indexes it with the provided key.

[Foundation.Export("runAction:forKey:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.WatchOS, 3, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 10, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void RunAction (SceneKit.SCNAction action, string key);
abstract member RunAction : SceneKit.SCNAction * string -> unit
override this.RunAction : SceneKit.SCNAction * string -> unit

Parameters

action
SCNAction
key
String

Implements

Attributes

Applies to

RunAction(SCNAction, Action)

Adds the provided action to the node and runs block after the operation completes.

[Foundation.Export("runAction:completionHandler:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.WatchOS, 3, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 10, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void RunAction (SceneKit.SCNAction action, Action block);
abstract member RunAction : SceneKit.SCNAction * Action -> unit
override this.RunAction : SceneKit.SCNAction * Action -> unit

Parameters

action
SCNAction
block
Action

Implements

Attributes

Applies to

RunAction(SCNAction)

Adds the provided action to the node.

[Foundation.Export("runAction:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.WatchOS, 3, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 10, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void RunAction (SceneKit.SCNAction action);
abstract member RunAction : SceneKit.SCNAction -> unit
override this.RunAction : SceneKit.SCNAction -> unit

Parameters

action
SCNAction

Implements

Attributes

Applies to