다음을 통해 공유


SKAction.CreateChangeMassTo(Single, Double) 메서드

정의

지정된 양만큼 newMassMassSKPhysicsBody 로 설정합니다.

[Foundation.Export("changeMassTo: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 CreateChangeMassTo (float newMass, double duration);
static member CreateChangeMassTo : single * double -> SpriteKit.SKAction

매개 변수

newMass
Single
duration
Double

반환

특성

적용 대상