共用方式為


SCNAction.PlayAudioSource(SCNAudioSource, Boolean) 方法

定義

建立並傳回播放音訊來源的動作。

[Foundation.Export("playAudioSource:waitForCompletion:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 11, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public static SceneKit.SCNAction PlayAudioSource (SceneKit.SCNAudioSource source, bool wait);
static member PlayAudioSource : SceneKit.SCNAudioSource * bool -> SceneKit.SCNAction

參數

wait
Boolean

傳回

屬性

適用於