Mesh2DGeometry
Defined in: component.ts:719
Local-space geometry of a Mesh2D renderable (triangle list, indexed).
positions is x,y pairs; uvs is u,v pairs (default 0,0); colors is r,g,b,a
floats (0-1) per vertex (default white). Uploaded via mesh2d_setGeometry, which
validates indices engine-side.
Properties
Section titled “Properties”colors?
Section titled “colors?”
optionalcolors?:number[]
Defined in: component.ts:722
indices
Section titled “indices”indices:
number[]
Defined in: component.ts:723
positions
Section titled “positions”positions:
number[]
Defined in: component.ts:720
optionaluvs?:number[]
Defined in: component.ts:721