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": {
"type": "ModulatorTime",
"name": "TimeMod",
"@TimeModDuration": 5,
"@EnvelopeStopPlayback": false
}
}
]
}
]
}
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"
}
]
},
"@ControlInput": {
"id": "{2D7084B6-2AA7-45B0-94B4-4976E886627A}",
"name": "TimeMod"
}
}
]
}
]
}
Refer to Using the Wwise Authoring API (WAAPI) for more information about Wwise Authoring API.