public abstract class Importer
extends java.lang.Object
Constructor and Description |
---|
Importer() |
Modifier and Type | Method and Description |
---|---|
abstract javafx.scene.Group |
getRoot()
Gets the 3D node that was loaded earlier through the load() call
|
javafx.animation.Timeline |
getTimeline()
Can be overridden to return a timeline animation for the 3D file
|
abstract boolean |
isSupported(java.lang.String supportType)
Tests if the given 3D file extension is supported (e.g.
|
abstract void |
load(java.lang.String url,
boolean asPolygonMesh)
Loads the 3D file
|
public abstract void load(java.lang.String url, boolean asPolygonMesh) throws java.io.IOException
url
- The url of the 3D file to loadasPolygonMesh
- When true load as a PolygonMesh if the loader
supports.java.io.IOException
- If issue loading filepublic abstract javafx.scene.Group getRoot()
public abstract boolean isSupported(java.lang.String supportType)
supportType
- The file extension (e.g. "ma", "ase", "obj", "fxml",
"dae")public javafx.animation.Timeline getTimeline()