top of page
- API -

object = reaper.AZ_Wwise_CreateObject(parentItemID, name, type)

- API Detail-

▼入力値

  • parentItemID(string) : 親オブジェクトのID(orパス)

  • name(string) : 名前

  • type(string) : オブジェクト種別

▼出力値

  • WwiseObject(WwiseObject) : 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


    parentPath = "\\Master-Mixer Hierarchy\\Default Work Unit\\test"

    

    object = reaper.AZ_Wwise_CreateObject(parentPath, "AZ Object", "Bus")

    

    Msg(reaper.AZ_GetErrorCode())

    

    showObject(object)

    

    reaper.AZ_Wwise_Disconnect()

end


Wwise

AZ_Wwise_CreateObject

Supported versions:

1,2,0

onwards

その他オブジェクトを作成

bottom of page