Specification for adding custom shape.
Extends
Members
ColorSpec
|
Array
# color Optional
Either a single color for the whole object or an array specifying the color at each vertex (CustomShapeSpec
).
- Inherited From:
Array
# faceArr Optional
List of triangles to build the custom shape. Each triangle is defined by the indices of 3 vertices in vertexArr, so the array length should be 3 times the number of faces.
number
# linewidth Optional
width of line for wireframe rendering No longer supported by most browsers
- Inherited From: