C# 클래스 Alexandria.Engines.Sciagi.Resources.PaletteColor

A color inside a Palette.
파일 보기 프로젝트 열기: Burton-Radons/Alexandria 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
Blue byte
Green byte
Red byte
Used bool

공개 메소드들

메소드 설명
PaletteColor ( bool used, byte red, byte green, byte blue ) : System

Initialise the color.

PaletteColor ( byte red, byte green, byte blue ) : System

Initialise the color.

메소드 상세

PaletteColor() 공개 메소드

Initialise the color.
public PaletteColor ( bool used, byte red, byte green, byte blue ) : System
used bool
red byte
green byte
blue byte
리턴 System

PaletteColor() 공개 메소드

Initialise the color.
public PaletteColor ( byte red, byte green, byte blue ) : System
red byte
green byte
blue byte
리턴 System

프로퍼티 상세

Blue 공개적으로 프로퍼티

Get the blue attribute, from 0 (dark) to 255 (bright).
public byte Blue
리턴 byte

Green 공개적으로 프로퍼티

Get the green attribute, from 0 (dark) to 255 (bright).
public byte Green
리턴 byte

Red 공개적으로 프로퍼티

Get the red attribute, from 0 (dark) to 255 (bright).
public byte Red
리턴 byte

Used 공개적으로 프로퍼티

Get whether this color is used.
public bool Used
리턴 bool