WAPannerNode class
3D spatial panner node. Mirrors Web Audio API PannerNode.
Constructors
- WAPannerNode({required int nodeId, required int contextId})
- Creates a new PannerNode.
Properties
- channelCount ↔ int
-
The number of channels used by this node.
getter/setter pairinherited
- channelCountMode ↔ WAChannelCountMode
-
How channels are mapped when connecting nodes.
getter/setter pairinherited
- channelInterpretation ↔ WAChannelInterpretation
-
How to interpret channels (speakers vs discrete).
getter/setter pairinherited
- coneInnerAngle ↔ double
-
Inner cone angle in degrees.
getter/setter pair
- coneOuterAngle ↔ double
-
Outer cone angle in degrees.
getter/setter pair
- coneOuterGain ↔ double
-
Outer cone gain multiplier.
getter/setter pair
- contextId → int
-
Internal context ID.
no setterinherited
- distanceModel ↔ WADistanceModel
-
Distance attenuation model.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- maxDistance ↔ double
-
Maximum distance for attenuation calculations.
getter/setter pair
- nodeId → int
-
Internal node ID used by the backend.
no setterinherited
- numberOfInputs → int
-
Number of inputs this node accepts.
no setteroverride
- numberOfOutputs → int
-
Number of outputs this node produces.
no setteroverride
- orientationX ↔ WAParam
-
Source orientation X parameter.
latefinal
- orientationY ↔ WAParam
-
Source orientation Y parameter.
latefinal
- orientationZ ↔ WAParam
-
Source orientation Z parameter.
latefinal
- panningModel ↔ WAPanningModel
-
Panning algorithm mode.
getter/setter pair
- positionX ↔ WAParam
-
Source X position parameter.
latefinal
- positionY ↔ WAParam
-
Source Y position parameter.
latefinal
- positionZ ↔ WAParam
-
Source Z position parameter.
latefinal
- refDistance ↔ double
-
Reference distance for distance attenuation.
getter/setter pair
- rolloffFactor ↔ double
-
Rolloff factor for distance attenuation.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
connect(
WANode destination, {int output = 0, int input = 0}) → WANode -
Connect this node's output to the input of
destination.inherited -
disconnect(
[WANode? destination]) → void -
Disconnect this node from all destinations, or from a specific
destination.inherited -
dispose(
) → void -
Free this node's native resources.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setOrientation(
double x, double y, double z) → 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