gl:color

(gl:color opengl red green blue alpha)


Description:

Sets color for vertexes


Arguments:

          alpha -- real number between 0.0 and 1.0

         opengl -- opengl instance

          green -- real number between 0.0 and 1.0

           blue -- real number between 0.0 and 1.0

            red -- real number between 0.0 and 1.0


Returns: boolean


Related:  


Examples:



Back to index