User Guide
Chapter 19478
colorList Get and set List identifying every color in the mesh. Any
color can be shared by several faces.
Alternatively, specify texture coordinates for the
mesh faces and apply a shader to models using
this model resource.
No default. Instead, set
the value to the number
of colors specified in your
newMesh call.
face.count Get Number of triangles in the mesh. The number of faces
specified in your
newMesh call.
face[index].v
ertices
Get and set List indicating which vertices to use for faces at
designated index points.
Set the value to a list of
three integers specifying
the indexes of the
vertices in the
vertexList that
define this face.
face[index].
normals
Get and set List indicating which normals to use for faces at
designated index points.
Set the value to a list of
three integers specifying
the indexes of the
normals in the
normalList that each
point of the triangle
should use. Don’t set a
value if you aren’t
defining your own
normals.
face
[
index].
textureCoord
inates
face[
index].
texcoords
Get and set List indicating which texture coordinates to use
for faces at designated index points.
Set the value to a list of
three integers specifying
the indexes of the texture
coordinates in the
textureCoordinate
s
List that each point of
the triangle should use.
Don’t set a value if you
aren’t defining your own
texture coordinates.
face[index].
colors
Get and set List indicating which colors to use for faces at
designated index points.
Set the value to a list of
three integers specifying
the indexes of the colors
in the colorList that each
point of the triangle
should use.
Don’t set a value if you
aren’t defining your own
colors.
face[index].
shader
Get and set Shader used for rendering the face. Shader defined for use
with this face.
Property Access Description Value Range