C# Class Clandestine.GLColor

Afficher le fichier Open project: mrmikey/nes

Méthodes publiques

Свойство Type Description
A float
B float
G float
R float

Méthodes publiques

Méthode 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 méthode

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
Résultat System

Property Details

A public_oe property

Range: 0.0 to 1.0
public float A
Résultat float

B public_oe property

Range: 0.0 to 1.0
public float B
Résultat float

G public_oe property

Range: 0.0 to 1.0
public float G
Résultat float

R public_oe property

Range: 0.0 to 1.0
public float R
Résultat float