SKScene.Listener Property

Definition

For use with positioned SKAudioNode objects, this SKNode specifies the position of the person listening.

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 11, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual SpriteKit.SKNode Listener { [ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.All, null)] [ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 11, ObjCRuntime.PlatformArchitecture.All, null)] [Foundation.Export("listener", ObjCRuntime.ArgumentSemantic.Weak)] get; [ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.All, null)] [ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 11, ObjCRuntime.PlatformArchitecture.All, null)] [Foundation.Export("setListener:", ObjCRuntime.ArgumentSemantic.Weak)] set; }
member this.Listener : SpriteKit.SKNode with get, set

Property Value

(More documentation for this node is coming)

This value can be null.

Attributes

Applies to