java.lang.Object
com.marginallyclever.ro3.mesh.MeshFactory
MeshFactory loads a mesh from a file using one of many MeshLoader classes. It also keeps a pool of
all mesh loaded so that only one instance of each shape is loaded.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleangetMaterialPath(String absolutePath) getPool()booleanhasMaterial(String absolutePath) Makes sure to only load one instance of each source file.voidvoidreset()Remove all meshes from the pool.
-
Constructor Details
-
MeshFactory
public MeshFactory()
-
-
Method Details
-
load
-
reload
-
getAllExtensions
-
canLoad
-
hasMaterial
-
getMaterialPath
-
getAllSourcesForExport
-
getPool
-
reset
public void reset()Remove all meshes from the pool.
-