Edit

Share via


SKAction.CreateChangePlaybackRateBy(Single, Double) Method

Definition

Changes the playback speed of an SKAudioNode.

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

Parameters

playbackRate
Single
duration
Double

Returns

Attributes

Applies to