Edit

Share via


SKAction.CreateChangePlaybackRate(Single, Double) Method

Definition

Sets the playback speed of an SKAudioNode.

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

Parameters

playbackRate
Single
duration
Double

Returns

Attributes

Applies to