top of page

import sys

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

from AZSTOKE_SILVER_python import *


def Msg(parm):

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


track = AZ_GetTrackItemSelect(0,1,0)

color,r,g,b = AZ_GetRandomColor(0,0,0,0)

Msg(color)

Msg(r)

Msg(g)

Msg(b)

AZ_SetTrackItemColor(track,color)

- SIMPLE SCRIPT -

color,r,g,b = AZ_GetRandomColor(colorOut,rOut,gOut,bOut)

- API -

対応バージョン:

1.0.0

以降

NUMBER

AZ_GetRandomColor

ランダムなカラー値を取得

- API Detail -

▼入力値

  • colorOut(Int):「0」を入力しておく ※任意

  • rOut(Int) : 「0」を入力しておく※任意

  • gOut(Int) : 「0」を入力しておく※任意

  • bOut(Int) : 「0」を入力しておく※任意

▼出力値

  • colorOut(Int):色値

  • rOut(Int) : 赤 0-255

  • gOut(Int) : 緑 0-255

  • bOut(Int) : 青 0-255

bottom of page