Options
All
  • Public
  • Public/Protected
  • All
Menu

Class PartIndexedTriangles

Defines indexed triangles that can be shown in a MarkupModel.

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

Hierarchy

  • Part
    • PartIndexedTriangles

Index

Accessors

color

color: Color3Like

The color of the part.

customData

customData: any

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

eyeLift

eyeLift: EyeLift

The eye lift mode to use for this part

Methods

rayIntersect

setMeshData

  • setMeshData(vertices: ArrayLike<number>, indices: ArrayLike<number>): void
  • Sets the triangles in the part using the given vertices and indices. See geo.MeshIndexedTriangles for an explanation of these arrays.

    Parameters

    • vertices: ArrayLike<number>
    • indices: ArrayLike<number>

    Returns void

Generated using TypeDoc