PannerNode: coneInnerAngle プロパティ
Baseline Widely available
This feature is well established and works across many devices and browser versions. It’s been available across browsers since April 2021.
Please take two minutes to fill out our short survey.
coneInnerAngle
は PannerNode
インターフェイスのプロパティで、倍精度実数値で音量が低減しない範囲を内側にもつ円錐体の角度を示します。
coneInnerAngle
プロパティの既定の値は 360
で、無指向性の音源に適しています。
値
倍精度浮動小数点数。
例
PannerNode.orientationX
の例で、 PannerNode
の向きの引数を coneInnerAngle
と coneOuterAngle
の組み合わせで変更した場合の音量への影響の例を示しています。
仕様書
Specification |
---|
Web Audio API # dom-pannernode-coneinnerangle |