public final class Importer3D
extends java.lang.Object
| Constructor and Description |
|---|
Importer3D() |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String[] |
getSupportedFormatExtensionFilters()
Get array of extension filters for supported file formats.
|
static javafx.scene.Node |
load(java.lang.String fileUrl)
Load a 3D file, always loaded as TriangleMesh.
|
static javafx.scene.Node |
load(java.lang.String fileUrl,
boolean asPolygonMesh)
Load a 3D file.
|
static javafx.util.Pair<javafx.scene.Node,javafx.animation.Timeline> |
loadIncludingAnimation(java.lang.String fileUrl,
boolean asPolygonMesh)
Load a 3D file.
|
public static java.lang.String[] getSupportedFormatExtensionFilters()
public static javafx.scene.Node load(java.lang.String fileUrl)
throws java.io.IOException
fileUrl - The url of the 3D file to loadjava.io.IOException - if issue loading filepublic static javafx.scene.Node load(java.lang.String fileUrl,
boolean asPolygonMesh)
throws java.io.IOException
fileUrl - The url of the 3D file to loadasPolygonMesh - When true load as a PolygonMesh if the loader supportsjava.io.IOException - if issue loading filepublic static javafx.util.Pair<javafx.scene.Node,javafx.animation.Timeline> loadIncludingAnimation(java.lang.String fileUrl,
boolean asPolygonMesh)
throws java.io.IOException
fileUrl - The url of the 3D file to loadasPolygonMesh - When true load as a PolygonMesh if the loader supportsjava.io.IOException - if issue loading file