C# 클래스 Sharpex2D.Rendering.OpenGL.OpenGLColor

파일 보기 프로젝트 열기: ThuCommix/Sharpex2D 1 사용 예제들

공개 메소드들

메소드 설명
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.

메소드 상세

OpenGLColor() 공개 메소드

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() 공개 메소드

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() 공개 메소드

Converts the OpenGLColor to string.
public ToString ( ) : string
리턴 string