onDrawVertices abstract method

void onDrawVertices(
  1. Float32List vertices,
  2. Uint16List? indices,
  3. int? paintId
)

Draw the vertices with the given vertices and optionally index buffer indices.

If the paintId is null, a default empty paint should be used instead.

Implementation

void onDrawVertices(Float32List vertices, Uint16List? indices, int? paintId);