Javadoc
Sets the float color array reference to the specified array.
The array contains floating-point red, green,
blue, and, optionally, alpha values for each
vertex (for a total of 3*n or 4*n values, where
n is the number of vertices). Only one of
colorRefFloat
, colorRefByte
,
colorRef3f
, colorRef4f
,
colorRef3b
, or colorRef4b
may be
non-null (or they may all be null). An attempt to set more
than one of these attributes to a non-null reference will
result in an exception being thrown. If all color array
references are null and colors are enabled (that is, the
vertexFormat includes either COLOR_3
or
COLOR_4
), the entire geometry array object is
treated as if it were null--any Shape3D or Morph node that uses
this geometry array will not be drawn.