PannerOptions constructor

PannerOptions({
  1. num? coneInnerAngle,
  2. num? coneOuterAngle,
  3. num? coneOuterGain,
  4. DistanceModelType? distanceModel,
  5. num? maxDistance,
  6. num? orientationX,
  7. num? orientationY,
  8. num? orientationZ,
  9. PanningModelType? panningModel,
  10. num? positionX,
  11. num? positionY,
  12. num? positionZ,
  13. num? refDistance,
  14. num? rolloffFactor,
  15. num? channelCount,
  16. ChannelCountMode? channelCountMode,
  17. ChannelInterpretation? channelInterpretation,
})

Implementation

factory PannerOptions({
  _i2.num? coneInnerAngle,
  _i2.num? coneOuterAngle,
  _i2.num? coneOuterGain,
  _i3.DistanceModelType? distanceModel,
  _i2.num? maxDistance,
  _i2.num? orientationX,
  _i2.num? orientationY,
  _i2.num? orientationZ,
  _i3.PanningModelType? panningModel,
  _i2.num? positionX,
  _i2.num? positionY,
  _i2.num? positionZ,
  _i2.num? refDistance,
  _i2.num? rolloffFactor,
  _i2.num? channelCount,
  _i3.ChannelCountMode? channelCountMode,
  _i3.ChannelInterpretation? channelInterpretation,
}) =>
    PannerOptions._(
      coneInnerAngle: coneInnerAngle,
      coneOuterAngle: coneOuterAngle,
      coneOuterGain: coneOuterGain,
      distanceModel: distanceModel?.name ?? _i6.undefined,
      maxDistance: maxDistance,
      orientationX: orientationX,
      orientationY: orientationY,
      orientationZ: orientationZ,
      panningModel: panningModel?.name ?? _i6.undefined,
      positionX: positionX,
      positionY: positionY,
      positionZ: positionZ,
      refDistance: refDistance,
      rolloffFactor: rolloffFactor,
      channelCount: channelCount,
      channelCountMode: channelCountMode?.name ?? _i6.undefined,
      channelInterpretation: channelInterpretation?.name ?? _i6.undefined,
    );