add createGeometry
This commit is contained in:
@@ -545,4 +545,10 @@ abstract class FilamentController {
|
||||
/// If there is a collision between the controlled entity and [collidableEntity], the transform will not be updated.
|
||||
///
|
||||
Future addCollisionComponent(FilamentEntity collidableEntity);
|
||||
|
||||
///
|
||||
/// Creates a (renderable) entity with the specified geometry and adds to the scene.
|
||||
///
|
||||
Future createGeometry(
|
||||
List<double> vertices, List<int> indices, String? materialPath);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user