createGeometry abstract method

Future createGeometry(
  1. Geometry geometry, {
  2. MaterialInstance? materialInstance,
  3. bool keepData = false,
})

Creates a (renderable) entity with the specified geometry and adds to the scene. If keepData is true, the source data will not be released.

Implementation

Future createGeometry(Geometry geometry,
    {MaterialInstance? materialInstance, bool keepData = false});