createGeometry method
Future<ThermionEntity>
createGeometry(
- List<
double> vertices, - List<
int> indices, { - String? materialPath,
- PrimitiveType primitiveType = PrimitiveType.TRIANGLES,
override
Creates a (renderable) entity with the specified geometry and adds to the scene.
Implementation
@override
Future<ThermionEntity> createGeometry(
List<double> vertices, List<int> indices,
{String? materialPath,
PrimitiveType primitiveType = PrimitiveType.TRIANGLES}) async {
throw UnimplementedError();
// final ThermionEntity jsEntity = await _shim
// .createGeometry(vertices, indices,
// materialPath: materialPath, primitiveType: primitiveType.index)
// .toDart;
// return ThermionEntity._fromJSObject(jsEntity).toDart;
}