Edit

Share via


SKAction.CreateChangeVolume(Single, Double) Method

Definition

Sets the volume of a 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

Parameters

newVolume
Single
duration
Double

Returns

Attributes

Applies to