设置 "object" 所定义对象的名称、备注、"Volume" 属性和 "OutputBus" 引用。参见有关 ak.wwise.core.object.setName 、ak.wwise.core.object.setNotes 、ak.wwise.core.object.setProperty 和 ak.wwise.core.object.setReference 的示例来对比两种架构。
函数 URI
ak.wwise.core.object.set
参数
{
"objects": [
{
"object": "\\Actor-Mixer Hierarchy\\Default Work Unit\\MySound",
"name": "new name",
"notes": "This object's notes are set.",
"@Volume": 5.7,
"@OutputBus": "\\Master-Mixer Hierarchy\\Default Work Unit\\Master Audio Bus\\Environment Bus"
}
],
"platform": "{66666666-7777-8888-9999-AAAAAAAAAAAA}"
}
结果
有关 Wwise Authoring API 的详细信息,请参阅 使用 Wwise Authoring API(WAAPI) 章节。