WAAudioListener class

Listener representation for spatial audio. Mirrors Web Audio API AudioListener.

Constructors

WAAudioListener({required int nodeId})
Creates an WAAudioListener bound to the backend listener node.

Properties

forwardX WAParam
Listener forward-vector X component parameter.
latefinal
forwardY WAParam
Listener forward-vector Y component parameter.
latefinal
forwardZ WAParam
Listener forward-vector Z component parameter.
latefinal
hashCode int
The hash code for this object.
no setterinherited
positionX WAParam
Listener X position parameter.
latefinal
positionY WAParam
Listener Y position parameter.
latefinal
positionZ WAParam
Listener Z position parameter.
latefinal
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
upX WAParam
Listener up-vector X component parameter.
latefinal
upY WAParam
Listener up-vector Y component parameter.
latefinal
upZ WAParam
Listener up-vector Z component parameter.
latefinal

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setOrientation(double forwardXValue, double forwardYValue, double forwardZValue, double upXValue, double upYValue, double upZValue) → void
Legacy convenience method.
setPosition(double x, double y, double z) → void
Legacy convenience method.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited