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
![](https://static.wixstatic.com/media/fc32ca_ce420e9bb52c45e180e78eae3346c302~mv2.png/v1/fill/w_61,h_61,al_c,q_85,usm_0.66_1.00_0.01,blur_2,enc_auto/01_BRONZE.png)
MEDIA
AZ_SetMediaItemFade
対応バージョン:
2.0.0
以降
Sets the fade time type and duration (seconds) for the specified media item.
LUA
- 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