createGeometry abstract method

Future createGeometry(
  1. List<double> vertices,
  2. List<int> indices, {
  3. String? materialPath,
  4. PrimitiveType primitiveType = PrimitiveType.TRIANGLES,
})

Creates a (renderable) entity with the specified geometry and adds to the scene.

Implementation

Future createGeometry(List<double> vertices, List<int> indices,
    {String? materialPath,
    PrimitiveType primitiveType = PrimitiveType.TRIANGLES});