Class ObjOrPolyObjImporter
java.lang.Object
eu.mihosoft.vrl.v3d.ext.openjfx.importers.Importer
eu.mihosoft.vrl.v3d.ext.openjfx.importers.obj.ObjOrPolyObjImporter
object loader
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionjavafx.scene.GroupgetRoot()Gets the 3D node that was loaded earlier through the load() callbooleanisSupported(String extension) Tests if the given 3D file extension is supported (e.g.voidLoads the 3D fileMethods inherited from class eu.mihosoft.vrl.v3d.ext.openjfx.importers.Importer
getTimeline
-
Constructor Details
-
ObjOrPolyObjImporter
public ObjOrPolyObjImporter()
-
-
Method Details
-
load
Description copied from class:ImporterLoads the 3D file- Specified by:
loadin classImporter- Parameters:
fileUrl- The url of the 3D file to loadasPolygonMesh- When true load as a PolygonMesh if the loader supports.- Throws:
IOException- If issue loading file
-
getRoot
public javafx.scene.Group getRoot()Description copied from class:ImporterGets the 3D node that was loaded earlier through the load() call -
isSupported
Description copied from class:ImporterTests if the given 3D file extension is supported (e.g. "ma", "ase", "obj", "fxml", "dae").- Specified by:
isSupportedin classImporter- Parameters:
extension- The file extension (e.g. "ma", "ase", "obj", "fxml", "dae")- Returns:
- True if the extension is of a supported type. False otherwise.
-