OpenGL Library for Delphi,
maintained by Eric Grange,
based on Mike Lischke's GLScene.

 

Reference Manual - TGLColor


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.
Valid XHTML 1.0 Transitional :: Valid CSS :: Powered by Wikka Wakka Wiki 1.1.6.2
Page was generated in 0.0407 seconds