Partager via


SKAction.CreateChangeVolume(Single, Double) Méthode

Définition

Définit le volume d’un 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

Paramètres

newVolume
Single
duration
Double

Retours

Attributs

S’applique à