Methods
getMesh (shape, totalSegments, vertices, indices) PIXI.lights.CircleMeshData
Creates vertices and indices arrays to describe this circle.
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
shape |
PIXI.Circle | |||
totalSegments |
number |
<optional> |
40 |
Total segments to build for the circle mesh. |
vertices |
Float32Array |
<optional> |
||
indices |
Uint16Array |
<optional> |
|
Returns:
Type | Description |
---|---|
PIXI.lights.CircleMeshData | Object with verticies and indices arrays |