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,inTypeOut,inLenOut,outTypeOut,outLenOut = AZ_GetMediaItemFade(mediaItem,0,0,0,0)

Msg(inTypeOut)

Msg(inLenOut)

Msg(outTypeOut)

Msg(outLenOut)

- SCRIPT -

retval,item,inTypeOut,inLenOut,outTypeOut,outLenOut = AZ_GetMediaItemFade(mediaItem,inTypeOut,inLenOut,outTypeOut,outLenOut)

- API -

MEDIA

AZ_GetMediaItemFade

Gets the fade time type and duration (seconds) for the specified media item.

- API Detail-

▼Input value

  • item(MediaItem): Media item

  • inType(integer): Any number (0 is OK)

  • inLen(float): Any number (0 is OK)

  • outType(integer): Any number (0 is OK)

  • outLen(float): Any number (0 is OK)


▼Output value

  • retval(bool): Whether the API execution was successful or not

  • inType(integer): Type of start fade (0 to 6)

  • inLen(float): Length of the start fade (seconds)

  • outType(integer): End fade type (0 to 6)

  • outLen(float): End fade length (seconds)

bottom of page