Contents
Class Importer
java.lang.Object
eu.mihosoft.vrl.v3d.ext.openjfx.importers.Importer
- Direct Known Subclasses:
ObjOrPolyObjImporter
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract javafx.scene.Group
getRoot()
Gets the 3D node that was loaded earlier through the load() calljavafx.animation.Timeline
Can be overridden to return a timeline animation for the 3D fileabstract boolean
isSupported
(String supportType) Tests if the given 3D file extension is supported (e.g.abstract void
Loads the 3D file
-
Constructor Details
-
Method Details
-
load
Loads the 3D file- Parameters:
url
- 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 abstract javafx.scene.Group getRoot()Gets the 3D node that was loaded earlier through the load() call- Returns:
- The loaded node
-
isSupported
Tests if the given 3D file extension is supported (e.g. "ma", "ase", "obj", "fxml", "dae").- Parameters:
supportType
- The file extension (e.g. "ma", "ase", "obj", "fxml", "dae")- Returns:
- True if the extension is of a supported type. False otherwise.
-
getTimeline
public javafx.animation.Timeline getTimeline()Can be overridden to return a timeline animation for the 3D file- Returns:
- A timeline animation. Null if there is no timeline animation.
-