User Guide
Chapter 3148
This command must be set to a list of the same number of Lingo color values specified in the
newMesh call.
Example
This statement shows that the third color in the colorList of the model resource Mesh2 is
rgb(255, 0, 0).
put member("shapes").modelResource("mesh2").colorlist[3]
-- rgb(255,0,0)
See also
face, colors
colorRange
Syntax
member(whichCastmember).modelResource(whichModelResource).\
colorRange.start
member(whichCastmember).modelResource(whichModelResource).\
colorRange.end
Description
3D #particle model resource properties; indicate the beginning color and ending color of the
particles of a particle system.
The
start property is the color of the particles when they are created. The end property is the
color of particles at the end of their lives. The color of each particle gradually changes from the
value of
start to the value of end over the course of its life.
The start and end properties have a default value of rgb(255, 255, 255).
Example
This statement sets the colorRange properties of the model resource named ThermoSystem. The
first line sets the
start value to rgb(255, 0, 0), and the second line sets the end value to
rgb(0, 0, 255). The effect of this statement is that the particles of ThermoSystem are red when
they first appear, and gradually change to blue during their lifetimes.
member(8,2).modelResource("ThermoSystem").colorRange.start = \
rgb(255,0,0)
member(8,2).modelResource("ThermoSystem").colorRange.end = \
rgb(0,0,255)
See also
emitter, blendRange, sizeRange
colors
Syntax
member(whichCastmember).modelResource(whichModelResource).\
face[faceIndex].colors
Description
3D face property; a linear list of three integers indicating which index positions of the model
resource’s color list to use for the three vertices of the face. The color list is a linear list of
rgb values.
The
colors property is used only with model resources whose type is #mesh.