共用方式為


SKAction.CreateChangePlaybackRateBy(Single, Double) 方法

定義

變更 的 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

參數

playbackRate
Single
duration
Double

傳回

屬性

適用於