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.Group
getRoot()
Gets the 3D node that was loaded earlier through the load() callboolean
isSupported
(String extension) Tests if the given 3D file extension is supported (e.g.void
Loads 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:Importer
Loads the 3D file- Specified by:
load
in 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:Importer
Gets the 3D node that was loaded earlier through the load() call -
isSupported
Description copied from class:Importer
Tests if the given 3D file extension is supported (e.g. "ma", "ase", "obj", "fxml", "dae").- Specified by:
isSupported
in 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.
-