This is a child page. You can use Parent in the quick nav bar at the top or the bottom of the page to navigate directly back to the parent of this page. Some child pages are more than one level deep, and in that case will require more than one Parent click to reach the outermost document level.

§ - color (SceneScript element)

 <color R G B

This language element may be used inside a  <trait block.

Each, or any, of R, G and B may be an expression.

Sets the full-object color (using  <color is the same as using all three  <color0,  <color1 and  <color2 statements to set all three colors to be the same) of all objects, until the next color statement (unless the object is imagemapped or texturemapped, see the  <imagemap and  <texturemap language elements for more on that):

Parameters are:

R=0.0 to 1.0, G=0.0 to 1.0, B=0.0 to 1.0

Here are some reference colors for you:

ColorR G B Values
Black0 0 0
Blue0 0 1
Cyan0 1 1
Green0 1 0
Magenta1 0 1
Orange1 .5 .25
Red1 0 0
White1 1 1
Yellow1 1 0
Keyboard Navigation
, Previous Page . Next Page t TOC i Index o Operators g Glossary
WinImages F/x, Morph and all associated documentation
Copyright © 1992-2007 Black Belt Systems ALL RIGHTS RESERVED Under the Pan-American Conventions
WinImages F/x Manual Version 7, Revision 6, Level A

Valid HTML 4.01 Loose

This manual was generated with wtfm
wtfm uses aa_macro and SqLite
aa_macro uses python 2.7
Page 184