SKAction.CreateChangeVolume(Single, Double) 方法

定义

设置 的 SKAudioNode卷。

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

参数

newVolume
Single
duration
Double

返回

属性

适用于