SunColor

Family: 3D · One form

What it does

SunColor writes to a 3D object: it sets rather than reads. It takes red (an integer), green (an integer) and blue (an integer), and returns nothing.

Syntax

SunColor(red integer, green integer, blue integer)

Parameters

NameType
redinteger
greeninteger
blueinteger

Every form returns

nothing

Example · generated

SunColor(255, 128, 128)DO  Sync()LOOP

SunColor is called with values of the types its signature asks for. The DO … LOOP is not decoration: a classic BASIC program ends the moment it runs out of lines, and Sync() is what draws the frame.

286 commands in 3D