Using the ak.wwise.core.object.get, use the options to specify what to obtain.
In the return options, use:
- "@@Attenuation" on an actor-mixer hierarchy object, music object or bus object, to obtain the attenuation object id and name, taking into consideration the Override parent settings.
- "audioSource:maxRadiusAttenuation" on an actor-mixer hierarchy object, music object, bus object or event object, to obtain the max radius value for an object, and the attenuation object id
- "@RadiusMax" on an attenuation object to obtain the max radius property value.
Example, to obtain the Attenuation object from a Sound id or Source id:
Arguments:
{
"from": {
"id": [
"{24979032-B170-43E3-A2E4-469E0193E2C3}"
]
}
}
Options:
{
"return": [
"@@Attenuation"
]
}
Note that with 2019.1.0+, you can chain accessors:
{
"return": [
"@@Attenuation.@RadiusMax"
]
}
Which is very similar to:
{
"return": [
"audioSource:maxRadiusAttenuation"
]
}