C# Class Sharpex2D.Rendering.OpenGL.OpenGLColor

Afficher le fichier Open project: ThuCommix/Sharpex2D Class Usage Examples

Méthodes publiques

Méthode Description
OpenGLColor ( float r, float g, float b )

Initializes a new OpenGLColor struct.

OpenGLColor ( float a, float r, float g, float b )

Initializes a new OpenGLColor struct.

ToString ( ) : string

Converts the OpenGLColor to string.

Method Details

OpenGLColor() public méthode

Initializes a new OpenGLColor struct.
public OpenGLColor ( float r, float g, float b )
r float The R value.
g float The G value.
b float The B value.

OpenGLColor() public méthode

Initializes a new OpenGLColor struct.
public OpenGLColor ( float a, float r, float g, float b )
a float The A value.
r float The R value.
g float The G value.
b float The B value.

ToString() public méthode

Converts the OpenGLColor to string.
public ToString ( ) : string
Résultat string