3D primitives

visible

Determines if the object is visible or not.

hit test

Determines if the 3D object interact with the mouse, for example to know which vertex is selected.

disable the hit test on heavy meshes to improve display smoothness.

viewport num

ID number of the target object3d-viewer where the object is displayed, from 1 to 16.

opacity

Opacity of the object or primitive, from 0 to 1 (or one value per instance), multiplied by the alpha of its color.

color

Color of the primitives: one color for all of them, or a color array with one color per primitive.

vertices points

3D points coordinates used to draw the primitives, from -1000 to 1000.

  • 1 point (3 coordinates) for points,
  • 2 points (6 coordinates) for lines,
  • 3 points (9 coordinates) for triangles,
  • 4 points (12 coordinates) for quads.

version 7.0.250921

Edit All Pages