C# Class Sharpex2D.Rendering.OpenGL.OpenGLColor

Datei anzeigen Open project: ThuCommix/Sharpex2D Class Usage Examples

Public Methods

Method 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 method

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 method

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 method

Converts the OpenGLColor to string.
public ToString ( ) : string
return string