Used to define a color and alpha (transparency). There are also a list of predefined colors constants such clrBlack which means instead of specifying black as the vector 0,0,0 the constant clrBlack can be used. Click here for a list of all the available color constants.
Important TGLColor properties and methods:
red : Amount of red (0 to 1)
green: Amount of green (0 to 1)
blue: Amount of blue (0 to 1)
alpha: Amount of transparency (0 to 1)
aswincolor TColor: Allows setting and getting using Delphi's TColor. Eg color.asWinColor:=clRed
Unit: GLTexture
Descends from TGLUpdateAbleObject.
Comments (0)
You don't have permission to comment on this page.