DrawTriangles
Defined in: sdk/src/render/draw.ts:86
Triangles a DrawAPI.triangles call draws: an x, y pair a vertex, three indices a triangle, and an r, g, b, a quadruple a
vertex (0 to 1; absent, every vertex is white). buildPathGeometry makes this shape from a path.
Properties
Section titled “Properties”colors?
Section titled “colors?”
optionalcolors?:ArrayLike<number>
Defined in: sdk/src/render/draw.ts:89
indices
Section titled “indices”indices:
ArrayLike<number>
Defined in: sdk/src/render/draw.ts:88
positions
Section titled “positions”positions:
ArrayLike<number>
Defined in: sdk/src/render/draw.ts:87