FilledPolygon

FilledPolygon

A polygon shape

Constructor

new FilledPolygon(verts, indices)

Parameters:
Name Type Description
verts Array

Array of vertices

indices Array

Array of indices

Methods

rebuild() → {FilledPolygon}

Builds or rebuilds the mesh data.