SKAction.Create Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
Create(String) |
Factory method to create a SKAction with the specified |
Create(String, NSUrl) |
Factory method to create a SKAction with the specified |
Create(String, Double) |
Factory method to create a SKAction with the specified |
Create(String, NSUrl, Double) |
Factory method to create a SKAction with the specified |
Create(String)
Factory method to create a SKAction with the specified name
.
[Foundation.Export("actionNamed:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 11, ObjCRuntime.PlatformArchitecture.Arch64, null)]
public static SpriteKit.SKAction Create (string name);
static member Create : string -> SpriteKit.SKAction
Parameters
- name
- String
Returns
- Attributes
Applies to
Create(String, NSUrl)
Factory method to create a SKAction with the specified name
, as defined in the action file located at url
.
[Foundation.Export("actionNamed:fromURL:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 11, ObjCRuntime.PlatformArchitecture.Arch64, null)]
public static SpriteKit.SKAction Create (string name, Foundation.NSUrl url);
static member Create : string * Foundation.NSUrl -> SpriteKit.SKAction
Parameters
- name
- String
- url
- NSUrl
Returns
- Attributes
Applies to
Create(String, Double)
Factory method to create a SKAction with the specified name
, of the specified duration, in seconds.
[Foundation.Export("actionNamed:duration:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 11, ObjCRuntime.PlatformArchitecture.Arch64, null)]
public static SpriteKit.SKAction Create (string name, double duration);
static member Create : string * double -> SpriteKit.SKAction
Parameters
- name
- String
- duration
- Double
Returns
- Attributes
Applies to
Create(String, NSUrl, Double)
Factory method to create a SKAction with the specified name
, as defined in the action file located at url
.
[Foundation.Export("actionNamed:fromURL:duration:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 11, ObjCRuntime.PlatformArchitecture.Arch64, null)]
public static SpriteKit.SKAction Create (string name, Foundation.NSUrl url, double duration);
static member Create : string * Foundation.NSUrl * double -> SpriteKit.SKAction
Parameters
- name
- String
- url
- NSUrl
- duration
- Double
Returns
- Attributes