top of page

AZSTOKE/ALGAZODIK

GameAudio & Art

import sys

sys.path.append(RPR_GetResourcePath() + r"/UserPlugins")

from AZSTOKE_BRONZE_python import *


def Msg(parm):

  RPR_ShowConsoleMsg(str(parm) + "\n")


mediaItem = AZ_GetMediaItemSelect(0,0,0)

retval,item,chModelOut = AZ_GetMediaItemChannelMode(mediaItem,0)

Msg(chModelOut)


Item = AZ_GetMediaItemSelect(0,1,0)

retval,item,chModelOut = AZ_GetMediaItemChannelMode(Item,0)

Msg(chModelOut)

- SCRIPT -

retval,item,chModelOut = AZ_GetMediaItemChannelMode(mediaItem,chModeOut)

- API -

ID

MEDIA

AZ_GetMediaItemChannelMode

Gets the channel mode of the specified media item.

- API Detail-

▼入力値

  • MediaItem (MediaItem):メディアアイテム

▼出力値

  • retval(bool):APIの実行成功の有無

  • item(MediaItem):入力と同じものが出力「_」で対処可能

  • chMode(Integer): チャンネルモード

bottom of page