편집

다음을 통해 공유


GL.Color4 Method

Definition

Overloads

Color4(Single, Single, Single, Single)
Color4(Byte, Byte, Byte, Byte)

Color4(Single, Single, Single, Single)

[OpenTK.AutoGenerated(Category="1.1", EntryPoint="glColor4f", Version="1.1")]
public static void Color4 (float red, float green, float blue, float alpha);
static member Color4 : single * single * single * single -> unit

Parameters

red
Single
green
Single
blue
Single
alpha
Single
Attributes

Applies to

Color4(Byte, Byte, Byte, Byte)

[OpenTK.AutoGenerated(Category="1.1", EntryPoint="glColor4ub", Version="1.1")]
public static void Color4 (byte red, byte green, byte blue, byte alpha);
static member Color4 : byte * byte * byte * byte -> unit

Parameters

red
Byte
green
Byte
blue
Byte
alpha
Byte
Attributes

Applies to