Version

menu_open
Wwise SDK 2023.1.5
Defining an attenuation curve of an object

Defines the "object"'s attenuation curve for "curveType" by setting a series of "points".

Function URI

ak.wwise.core.object.setAttenuationCurve

Arguments

{
"object": "{A076AA65-B71A-45BB-8841-5A20C52CE727}",
"platform": "{66666666-7777-8888-9999-AAAAAAAAAAAA}",
"curveType": "VolumeDryUsage",
"use": "Custom",
"points": [
{
"x": 0,
"y": 0,
"shape": "Exp1"
},
{
"x": 8,
"y": -1,
"shape": "SCurve"
},
{
"x": 25,
"y": -2,
"shape": "Constant"
}
]
}

Result

{}

Refer to Using the Wwise Authoring API (WAAPI) for more information about Wwise Authoring API.


Was this page helpful?

Need Support?

Questions? Problems? Need more info? Contact us, and we can help!

Visit our Support page

Tell us about your project. We're here to help.

Register your project and we'll help you get started with no strings attached!

Get started with Wwise