ScriptColor

설명

색을 나타내는 클래스입니다.

속성

형식설명

int a { get; set; }

투명도 (0 ~ 255) 예제

int r { get; set; }

빨강 (0 ~ 255)

int g { get; set; }

초록 (0 ~ 255)

int b { get; set; }

파랑 (0 ~ 255)

함수

형식설명

static ScriptColor New(int r, int g, int b, int a = 255)

새 ScriptColor 객체를 생성합니다. 예제

사용 예제

빨간색을 가진 ScriptColor 객체 만들기

local red = Color(255, 0, 0);

Last updated