Version

menu_open
Wwise SDK 2023.1.5
Adding an RTPC with curve to an object

In the "RTPC" list of an object creates an RTPC on a property, using the given ControlInput and curve points.

Function URI

ak.wwise.core.object.set

Arguments

{
"objects": [
{
"object": "{BAE891BA-E025-43ED-A4D1-4DC55C68E7CA}",
"@RTPC": [
{
"type": "RTPC",
"name": "",
"@Curve": {
"type": "Curve",
"points": [
{
"x": 0,
"y": -20.82785,
"shape": "Linear"
},
{
"x": 1000,
"y": 21.8509,
"shape": "Linear"
}
]
},
"notes": "a new rtpc",
"@PropertyName": "OutputBusVolume",
"@ControlInput": "{E31BAE21-CFA6-4655-81F6-E6FBDC802E9D}"
}
]
}
]
}

Options

{
"return": [
"id",
"name",
"type",
"@Curve"
]
}

Result

{
"objects": [
{
"id": "{BAE891BA-E025-43ED-A4D1-4DC55C68E7CA}",
"name": "Sound",
"@RTPC": [
{
"id": "{31DA7AE1-B215-4689-A5F7-67A9C5B3DFDC}",
"name": "",
"type": "RTPC",
"@Curve": {
"id": "{676ECEEC-9FF5-46CD-B2C7-A6D5C9370620}",
"points": [
{
"x": 0,
"y": -20.82785,
"shape": "Linear"
},
{
"x": 1000,
"y": 21.8509,
"shape": "Linear"
}
]
}
}
]
}
]
}

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