C# Class Clandestine.GLColor

ファイルを表示 Open project: mrmikey/nes

Public Properties

Property Type Description
A float
B float
G float
R float

Public Methods

Method Description
GLColor ( float r, float g, float b, float a ) : System

Creates a GLColor struct, filling it with the supplied values. Each parameter takes a value within the range 0.0 - 1.0.

Method Details

GLColor() public method

Creates a GLColor struct, filling it with the supplied values. Each parameter takes a value within the range 0.0 - 1.0.
public GLColor ( float r, float g, float b, float a ) : System
r float Range: 0.0 to 1.0
g float Range: 0.0 to 1.0
b float Range: 0.0 to 1.0
a float Range: 0.0 to 1.0
return System

Property Details

A public_oe property

Range: 0.0 to 1.0
public float A
return float

B public_oe property

Range: 0.0 to 1.0
public float B
return float

G public_oe property

Range: 0.0 to 1.0
public float G
return float

R public_oe property

Range: 0.0 to 1.0
public float R
return float