PartIndexedTriangles

class cee.mrk.PartIndexedTriangles()

Defines indexed triangles that can be shown in a MarkupModel

Use MarkupModel.addIndexedTrianglesPart to create a new instance of this class.


Accessors

cee.mrk.PartIndexedTriangles.color

The color of the part.

cee.mrk.PartIndexedTriangles.customData

Custom data for the part. This field is not used by EnvisionWeb.

cee.mrk.PartIndexedTriangles.eyeLift

The eye lift mode to use for this part

Methods

rayIntersect

cee.mrk.PartIndexedTriangles.rayIntersect(ray, hitItem)

Picking

Arguments
Return type

boolean

setMeshData

cee.mrk.PartIndexedTriangles.setMeshData(vertices, indices)

Sets the triangles in the part using the given vertices and indices. See geo.MeshIndexedTriangles for an explanation of these arrays.

Arguments
  • vertices (ArrayLike[number]) –

  • indices (ArrayLike[number]) –

Return type

void