バーチャルフォルダ'WAAPI'の下に、SFXサウンドオブジェクトに対するPlayアクションのある'Play_SFX'というイベントを作成します。
関数URI
ak.wwise.core.object.create
引数
{
"parent": "\\Events\\Default Work Unit",
"type": "Folder",
"name": "WAAPI",
"onNameConflict": "merge",
"children": [
{
"type": "Event",
"name": "Play_SFX",
"children": [
{
"name": "",
"type": "Action",
"@ActionType": 1,
"@Target": "\\Actor-Mixer Hierarchy\\Default Work Unit\\SFX"
}
]
}
]
}
結果
{
"id": "{6114659F-9274-4031-B90E-F369568532E0}",
"name": "WAAPI",
"children": [
{
"id": "{F546017D-201A-49BD-8D4E-0A28F5DBB28D}",
"name": "Play_SFX",
"children": [
{
"id": "{400D0354-0FDB-48B4-B341-9DFA0B76078D}",
"name": ""
}
]
}
]
}
Wwise Authoring APIの詳細は、 Wwise Authoring API (WAAPI)を使用する を参照してください。