Editar

Compartir a través de


SKAction.WarpTo(SKWarpGeometry, Double) Method

Definition

Returns an action that warps the contents of a node over the specified duration.

[Foundation.Export("warpTo:duration:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 12, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public static SpriteKit.SKAction WarpTo (SpriteKit.SKWarpGeometry warp, double duration);
static member WarpTo : SpriteKit.SKWarpGeometry * double -> SpriteKit.SKAction

Parameters

duration
Double

Returns

Attributes

Applies to