C# 클래스 UnityEngine.Color32

파일 보기 프로젝트 열기: CarlosHBC/UnityDecompiled 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
a byte
b byte
g byte
r byte

공개 메소드들

메소드 설명
Color32 ( byte r, byte g, byte b, byte a ) : System

Constructs a new Color32 with given r, g, b, a components.

Lerp ( Color32 a, Color32 b, float t ) : Color32

Linearly interpolates between colors a and b by t.

LerpUnclamped ( Color32 a, Color32 b, float t ) : Color32

Linearly interpolates between colors a and b by t.

ToString ( ) : string

Returns a nicely formatted string of this color.

ToString ( string format ) : string

Returns a nicely formatted string of this color.

메소드 상세

Color32() 공개 메소드

Constructs a new Color32 with given r, g, b, a components.

public Color32 ( byte r, byte g, byte b, byte a ) : System
r byte
g byte
b byte
a byte
리턴 System

Lerp() 공개 정적인 메소드

Linearly interpolates between colors a and b by t.

public static Lerp ( Color32 a, Color32 b, float t ) : Color32
a Color32
b Color32
t float
리턴 Color32

LerpUnclamped() 공개 정적인 메소드

Linearly interpolates between colors a and b by t.

public static LerpUnclamped ( Color32 a, Color32 b, float t ) : Color32
a Color32
b Color32
t float
리턴 Color32

ToString() 공개 메소드

Returns a nicely formatted string of this color.

public ToString ( ) : string
리턴 string

ToString() 공개 메소드

Returns a nicely formatted string of this color.

public ToString ( string format ) : string
format string
리턴 string

프로퍼티 상세

a 공개적으로 프로퍼티

Alpha component of the color.

public byte a
리턴 byte

b 공개적으로 프로퍼티

Blue component of the color.

public byte b
리턴 byte

g 공개적으로 프로퍼티

Green component of the color.

public byte g
리턴 byte

r 공개적으로 프로퍼티

Red component of the color.

public byte r
리턴 byte