Class EmptyModel
java.lang.Object
dev.engine_room.flywheel.lib.model.EmptyModel
- All Implemented Interfaces:
Model
-
Nested Class Summary
Nested classes/interfaces inherited from interface dev.engine_room.flywheel.api.model.Model
Model.ConfiguredMesh -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.joml.Vector4fcGet a vec4 representing this model's bounding sphere in the format (x, y, z, radius).meshes()Get a list of all meshes in this model.
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
EmptyModel
public EmptyModel()
-
-
Method Details
-
meshes
Description copied from interface:ModelGet 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. See
InstancerProvider.instancer(InstanceType, Model, int)for a complete explanation -
boundingSphere
public org.joml.Vector4fc boundingSphere()Description copied from interface:ModelGet a vec4 representing this model's bounding sphere in the format (x, y, z, radius). It should encompass all meshes' bounding spheres.- Specified by:
boundingSpherein interfaceModel- Returns:
- A vec4 view.
-