mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Add accessors for PannerNode
This commit is contained in:
parent
7d5b4b204c
commit
7daec55010
4 changed files with 125 additions and 15 deletions
|
@ -37,20 +37,20 @@ enum PanningModelType {
|
|||
[Exposed=Window,
|
||||
Constructor (BaseAudioContext context, optional PannerOptions options)]
|
||||
interface PannerNode : AudioNode {
|
||||
// attribute PanningModelType panningModel;
|
||||
attribute PanningModelType panningModel;
|
||||
readonly attribute AudioParam positionX;
|
||||
readonly attribute AudioParam positionY;
|
||||
readonly attribute AudioParam positionZ;
|
||||
readonly attribute AudioParam orientationX;
|
||||
readonly attribute AudioParam orientationY;
|
||||
readonly attribute AudioParam orientationZ;
|
||||
// attribute DistanceModelType distanceModel;
|
||||
// attribute double refDistance;
|
||||
// attribute double maxDistance;
|
||||
// attribute double rolloffFactor;
|
||||
// attribute double coneInnerAngle;
|
||||
// attribute double coneOuterAngle;
|
||||
// attribute double coneOuterGain;
|
||||
attribute DistanceModelType distanceModel;
|
||||
attribute double refDistance;
|
||||
attribute double maxDistance;
|
||||
attribute double rolloffFactor;
|
||||
attribute double coneInnerAngle;
|
||||
attribute double coneOuterAngle;
|
||||
attribute double coneOuterGain;
|
||||
// void setPosition (float x, float y, float z);
|
||||
// void setOrientation (float x, float y, float z);
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue