# 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

- `color`
- `customData`
- `eyeLift`

Methods

- `rayIntersect`
- `setMeshData`

## Accessors

`PartIndexedTriangles.``color`()

  The color of the part.

  Return type: | Color3Like

`PartIndexedTriangles.``color`(color)

  Arguments: | color (`Color3Like`) – None
  Return type: | void

`PartIndexedTriangles.``customData`()

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

  Return type: | any

`PartIndexedTriangles.``customData`(data)

  Arguments: | data (`any`) – None
  Return type: | void

`PartIndexedTriangles.``eyeLift`()

  The eye lift mode to use for this part

  Return type: | EyeLift

`PartIndexedTriangles.``eyeLift`(mode)

  Arguments: | mode (`EyeLift`) – None
  Return type: | void

## Methods

### rayIntersect

`PartIndexedTriangles.``rayIntersect`(ray, hitItem)

  Arguments: | ray (`Ray`) – None hitItem (`PartHitItem`) – None

  Picking

  Return type: | boolean

### setMeshData

`PartIndexedTriangles.``setMeshData`(vertices, indices)

  Arguments: | vertices (`ArrayLike`) – None indices (`ArrayLike`) – None

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

  Return type: | void

Conversation saved
HOOPSY BETA

### Hello! I'm HOOPSY

Your Docs generative AI assistant. Ask me anything about HOOPS Envision for Web or choose a sample question below to start a conversation:

What is HOOPS Envision for Web?
What are the latest release notes for HOOPS Envision for Web?
How do I start evaluating HOOPS Envision for Web?
How do I write my first sample application?
How can I get assistance?

HOOPSY may store conversations according to OpenAI's policy. Responses may not always be accurate.

HOOPSY is thinking...