| OLD | NEW |
| (Empty) | |
| 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. |
| 4 |
| 5 // WARNING: Do not edit - generated code. |
| 6 |
| 7 class AudioPannerNodeWrappingImplementation extends AudioNodeWrappingImplementat
ion implements AudioPannerNode { |
| 8 AudioPannerNodeWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 9 |
| 10 AudioGain get coneGain() { return LevelDom.wrapAudioGain(_ptr.coneGain); } |
| 11 |
| 12 num get coneInnerAngle() { return _ptr.coneInnerAngle; } |
| 13 |
| 14 void set coneInnerAngle(num value) { _ptr.coneInnerAngle = value; } |
| 15 |
| 16 num get coneOuterAngle() { return _ptr.coneOuterAngle; } |
| 17 |
| 18 void set coneOuterAngle(num value) { _ptr.coneOuterAngle = value; } |
| 19 |
| 20 num get coneOuterGain() { return _ptr.coneOuterGain; } |
| 21 |
| 22 void set coneOuterGain(num value) { _ptr.coneOuterGain = value; } |
| 23 |
| 24 AudioGain get distanceGain() { return LevelDom.wrapAudioGain(_ptr.distanceGain
); } |
| 25 |
| 26 int get distanceModel() { return _ptr.distanceModel; } |
| 27 |
| 28 void set distanceModel(int value) { _ptr.distanceModel = value; } |
| 29 |
| 30 num get maxDistance() { return _ptr.maxDistance; } |
| 31 |
| 32 void set maxDistance(num value) { _ptr.maxDistance = value; } |
| 33 |
| 34 int get panningModel() { return _ptr.panningModel; } |
| 35 |
| 36 void set panningModel(int value) { _ptr.panningModel = value; } |
| 37 |
| 38 num get refDistance() { return _ptr.refDistance; } |
| 39 |
| 40 void set refDistance(num value) { _ptr.refDistance = value; } |
| 41 |
| 42 num get rolloffFactor() { return _ptr.rolloffFactor; } |
| 43 |
| 44 void set rolloffFactor(num value) { _ptr.rolloffFactor = value; } |
| 45 |
| 46 void setOrientation(num x, num y, num z) { |
| 47 _ptr.setOrientation(x, y, z); |
| 48 return; |
| 49 } |
| 50 |
| 51 void setPosition(num x, num y, num z) { |
| 52 _ptr.setPosition(x, y, z); |
| 53 return; |
| 54 } |
| 55 |
| 56 void setVelocity(num x, num y, num z) { |
| 57 _ptr.setVelocity(x, y, z); |
| 58 return; |
| 59 } |
| 60 } |
| OLD | NEW |