- API -
switchGroup, switchList, switchCount = reaper.AZ_Wwise_GetSwitchSet(switchGroupName)
- API Detail -
▼入力値
・switchGroupName(String) : スイッチグループ名
▼出力値
・switchGroup(table) : スイッチグループ情報
-ID(string) : スイッチグループのID
-Name(string) : スイッチグループの名前
-Path(string): スイッチグループのパス
・switchList(table) : スイッチ情報の配列
-ID(string) : スイッチのID
-Name(string) : スイッチの名前
-Path(string) : スイッチのパス
・switchCount(integer) : スイッチ数
- SIMPLE SCRIPT -
dofile(reaper.AZ_GetLuaInitPath())
require("reaper_AZSTOKE_GOLD")
if (reaper.AZ_Wwise_Connect("127.0.0.1",8080)) then
switchGroup, switchList, switchCount = reaper.AZ_Wwise_GetSwitchSet("attribute")
Msg("GroupName: "..switchGroup.Name)
Msg("GroupID: "..switchGroup.ID)
Msg("GroupPath: "..switchGroup.Path)
for i, value in pairs(switchList) do
Msg("switchName: "..value.Name)
Msg("switchID: "..value.ID)
Msg("switchPath: "..value.Path)
end
reaper.AZ_Wwise_Disconnect()
end