PartIndexedTriangles
-
class
cee.mrk.PartIndexedTriangles() Defines indexed triangles that can be shown in a
MarkupModel.Use
MarkupModel.addIndexedTrianglesPartto create a new instance of this class.
Accessors
-
cee.mrk.PartIndexedTriangles.color() - get color():
Color3LikeThe color of the part.
Returns:
Color3Likeset color(color:Color3Like): voidParameters
color:Color3LikeReturns: void
-
cee.mrk.PartIndexedTriangles.customData() inherited
get customData(): anyCustom data for the part. This field is not used by EnvisionWeb.
Returns: any
set customData(data: any): voidParameters
data: anyReturns: void
-
cee.mrk.PartIndexedTriangles.eyeLift() - get eyeLift():
EyeLiftThe eye lift mode to use for this part
Returns:
EyeLiftset eyeLift(mode:EyeLift): voidParameters
mode:EyeLiftReturns: void
Methods
-
cee.mrk.PartIndexedTriangles.rayIntersect() - rayIntersect(ray:
Ray, hitItem:PartHitItem): booleanPicking
Parameters
ray:
RayhitItem:
PartHitItemReturns: boolean
-
cee.mrk.PartIndexedTriangles.setMeshData() - setMeshData(vertices: ArrayLike, indices: ArrayLike): void
Sets the triangles in the part using the given vertices and indices. See
geo.MeshIndexedTrianglesfor an explanation of these arrays.Parameters
vertices: ArrayLike
indices: ArrayLike
Returns: void