- API -
stateGroup, stateList = reaper.AZ_Wwise_GetStateSet(stateGroupName, ignoreNone)
- API Detail-
▼入力値
stateGroupName(string) : ステートグループ名
ignoreNone(boolean) : Noneを含めるか(任意 デフォルト : FALSE)
▼出力値
stateGroup(WwiseObject) : ID, Name, Path
stateList(WwiseObjectArray) : ID, Name, Path
- SCRIPT -
dofile(reaper.AZ_GetLuaInitPath())
require("reaper_AZSTOKE_GOLD")
function showObject(object, depth)
local obj = object
if depth == nil then depth = 0 end
if(type(obj) == "table") then
Msg("")
for k, v in pairs(obj) do
for i = 1, depth, 1 do reaper.ShowConsoleMsg(" ") end
reaper.ShowConsoleMsg(tostring(k) .. " : ")
showObject(v, depth + 4)
end
else
Msg(obj)
end
end
if reaper.AZ_Wwise_Connect("127.0.0.1", 8080) then
stateGroup, stateList = reaper.AZ_Wwise_GetStateSet("Mode")
showObject(stateGroup)
showObject(stateList)
Msg(reaper.AZ_GetErrorMsg())
reaper.AZ_Wwise_Disconnect()
end