Upravit

Sdílet prostřednictvím


SCNNode.AddAudioPlayer(SCNAudioPlayer) Method

Definition

Adds the player and starts playback.

[Foundation.Export("addAudioPlayer:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 11, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void AddAudioPlayer (SceneKit.SCNAudioPlayer player);
abstract member AddAudioPlayer : SceneKit.SCNAudioPlayer -> unit
override this.AddAudioPlayer : SceneKit.SCNAudioPlayer -> unit

Parameters

Attributes

Applies to