SCNAction.PlayAudioSource(SCNAudioSource, Boolean) Method

Definition

Creates and returns an action that plays an audio source.

[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

Parameters

wait
Boolean

Returns

Attributes

Applies to