gaBackground(float,float,float,float)

Syntax

gaBackground(float,float)
gaBackground(float,float,float,float)

Example

function draw()
    gaBackground(0.0,0.0,0.0,0.1)

    ofSetColor(255,255,0)
    ofCircle(ofMouseX(),ofMouseY(),100,100)
end

Description

Set the color of the GAmuza video output background, in grayscale mode with two parameters (gray,alpha), or in color mode with four parameters (r,g,b,a). All parameters are in normalized float range, 0.0 to 1.0

Parameters

float,float,float,float