top of page
- API -

copiedItemID = AZ_Wwise_CopyObject(destItemID, destName, isUnique)

- API Detail-

▼入力値

  • targetItemID(string) : コピー元オブジェクトのID

  • destItemID(string) : コピー先オブジェクトのID

  • destName(string) : コピー先での名前(任意 デフォルト : コピー元の名前)

  • isUnique(bool) : 作成するオブジェクトが既存の場合そのデータのみを返す(任意 デフォルト : false)

▼出力値

  • copiedItemID(WwiseObject) : コピーされたオブジェクト

- SCRIPT -

dofile(reaper.AZ_GetLuaInitPath())    

require("reaper_AZSTOKE_GOLD")


reaper.AZ_Wwise_Connect("127.0.0.1", 8080)


targetItemID = "\\Actor-Mixer Hierarchy\\Default Work Unit\\Container_1\\Sound_1"

destItemID = "\\Actor-Mixer Hierarchy\\Default Work Unit\\Container_1\\Container_2"

destName = "CopiedSound"


copiedObject = reaper.AZ_Wwise_CopyObject(targetItemID, destItemID, destName, false)


ShowObject(copiedObject)


reaper.AZ_Wwise_Disconnect()

Wwise

AZ_Wwise_CopyObject

Supported versions:

1.4.0

onwards

指定のオブジェクトをコピーする

bottom of page