다음을 통해 공유


SKAction.ScaleTo 메서드

정의

오버로드

ScaleTo(CGSize, Double)
ScaleTo(nfloat, Double)
ScaleTo(nfloat, nfloat, Double)

ScaleTo(CGSize, Double)

[Foundation.Export("scaleToSize: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 ScaleTo (CoreGraphics.CGSize size, double sec);
static member ScaleTo : CoreGraphics.CGSize * double -> SpriteKit.SKAction

매개 변수

size
CGSize
sec
Double

반환

특성

적용 대상

ScaleTo(nfloat, Double)

[Foundation.Export("scaleTo:duration:")]
public static SpriteKit.SKAction ScaleTo (nfloat scale, double sec);
static member ScaleTo : nfloat * double -> SpriteKit.SKAction

매개 변수

scale
nfloat
sec
Double

반환

특성

적용 대상

ScaleTo(nfloat, nfloat, Double)

[Foundation.Export("scaleXTo:y:duration:")]
public static SpriteKit.SKAction ScaleTo (nfloat xScale, nfloat yScale, double sec);
static member ScaleTo : nfloat * nfloat * double -> SpriteKit.SKAction

매개 변수

xScale
nfloat
yScale
nfloat
sec
Double

반환

특성

적용 대상