You are currently not logged in! Enter your authentication credentials below to log in. You need to have cookies enabled to log in.
This is an old revision of the document!
llSetColor(vector color, integer face)
is an SL color vector (3 RGB values in the range 0.0 to 1.0)
is an integer defining which face of the prim will have its color set. The special value ALL_SIDES selects every face of the prim.
llSetColor(<0.5, 0.5, 0.5>, 3); // will set face 3 of the prim to grey
default { state_entry() { // This example takes a color vector in RGB values (3 values in the range 0 to 255) and applies it to all sides of the current prim llSetColor( <128, 240, 96> / 255, ALL_SIDES); } }