top of page

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 = AZ_SetMediaItemFade(mediaItem,2,0.5,6,0.4)

- SCRIPT -

retval = AZ_SetMediaItemFade(mediaItem,inType,inLen,outType,outLen)

- API -

ID

MEDIA

AZ_SetMediaItemFade

対応バージョン:

2.0.0

以降

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

- API Detail-

▼Input value

  • MediaItem (MediaItem): Media item

  • 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)

▼Output value

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

bottom of page