Don't click here unless you want to be banned.
LSL Wiki :
llSetColor
HomePage
::
PageIndex
::
RecentChanges
::
RecentlyCommented
::
UserSettings
:: You are crawling22.us.archive.org
**##llSetColor([[vector]] color, [[integer]] [[face]])##** Sets the **##[[color]]##** of **##[[face]]##**. If **##face##** is ##[[ALL_SIDES]]##, sets the color on all faces. The range of **##color##** is ##<0.0, 0.0, 0.0>## through ##<1.0, 1.0, 1.0>##. [[vector Vector]] components greater than 1.0 are interpreted as 1.0. Vector components correspond with [[hex]] [[value values]] of ###000000## through ###FFFFFF## or [[RGB]] values of ##0## through ##255##. **Comparison Table:** |||c **Color** || **Vector** || **RGB** || **Hex** || || Red || <1.0, 0.0, 0.0> || 255,0,0 || #FF0000 || || Green || <0.0, 1.0, 0.0> || 0,255,0 || #00FF00 || || Blue || <0.0, 0.0, 1.0> || 0,0,255 || #0000FF ||| It can be read back using ##[[llGetColor]]##. To convert a vector from RGB to vector form, divide each component by 255.0. Example: %%(lsl) vector color = <R, G, B> / 255.0; %% Compare with ##[[llSetTexture]]## and ##[[llSetLinkColor]]##. See also ##[[llSetPrimitiveParams]]##. Example: See ##[[timer]]##. **Q:** ''How do I determine which side of an object this applies to?'' **A:** ''See [[side]].'' ---- [[functions Functions]] | [[texture Texture]] | [[color Color]]
Valid XHTML 1.0 Transitional
::
Valid CSS
:: Powered by
WakkaWiki 0.1.2