SKAction.ResizeTo 方法

定义

重载

ResizeTo(CGSize, Double)
ResizeTo(nfloat, nfloat, Double)

ResizeTo(CGSize, Double)

public static SpriteKit.SKAction ResizeTo (CoreGraphics.CGSize size, double duration);
static member ResizeTo : CoreGraphics.CGSize * double -> SpriteKit.SKAction

参数

size
CGSize
duration
Double

返回

适用于

ResizeTo(nfloat, nfloat, Double)

[Foundation.Export("resizeToWidth:height:duration:")]
public static SpriteKit.SKAction ResizeTo (nfloat width, nfloat height, double duration);
static member ResizeTo : nfloat * nfloat * double -> SpriteKit.SKAction

参数

width
nfloat
height
nfloat
duration
Double

返回

属性

适用于