overte icon indicating copy to clipboard operation
overte copied to clipboard

Create: Support audio.listenerAttenuationCoefficients

Open HifiExperiments opened this issue 1 year ago • 0 comments

https://github.com/overte-org/overte/pull/847 added support for audio properties to Zone Entities. One new property, listenerAttenuationCoefficients, is a number[] where each number applies to the corresponding QUuid in audio.listenerZones. Create doesn't currently support number[] properties, so the new property is only modifiable by script. We need to either:

  • Add support for number[] and add a warning if the length of listenerZones doesn't match the length of listenerAttenuationCoefficients OR
  • add a new system for modifying QUuid + float oroperty pairs together, so that the array lengths are always equal

HifiExperiments avatar Mar 22 '24 01:03 HifiExperiments