overte
overte copied to clipboard
Create: Support audio.listenerAttenuationCoefficients
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
listenerZonesdoesn't match the length oflistenerAttenuationCoefficientsOR - add a new system for modifying QUuid + float oroperty pairs together, so that the array lengths are always equal