createInstance abstract method

Future<ThermionAsset> createInstance({
  1. List<MaterialInstance>? materialInstances = null,
})

Create a new instance of entity. Instances are not automatically added to the scene; you must call Scene.add.

Implementation

Future<ThermionAsset> createInstance(
    {List<MaterialInstance>? materialInstances = null});