Package com.jozufozu.flywheel.api.model
Interface Model
- All Known Implementing Classes:
SimpleModel,SingleMeshModel
public interface Model
-
Method Details
-
meshes
List<Model.ConfiguredMesh> meshes()Get a list of all meshes in this model.The contents of the returned list will be queried, but never modified.
Meshes will be rendered in the order they appear in this list, though no render order guarantees are made for meshes between different models.
- Returns:
- A list of meshes.
-
boundingSphere
org.joml.Vector4fc boundingSphere()Get a vec4 representing this model's bounding sphere in the format (x, y, z, radius). It should encompass all meshes' bounding spheres.- Returns:
- A vec4 view.
-
delete
void delete()
-