public enum FxmlImportOption extends java.lang.Enum<FxmlImportOption>
Enum Constant and Description |
---|
GENERATE_NORMALS
Normals will be generated based on the given crease angle.
|
IGNORE_CAMERAS
No camera node will be created and added to the scene graph.
|
IGNORE_LIGHTS
No light node will be created and added to the scene graph.
|
MAP_WRITABLEIMAGE
The maps of a
PhongMaterial object will be of type WritableImage . |
NONE
No option is applied.
|
REVERSE_GEOMETRY
The winding of the triangles will be reversed (counterclockwise <-> clockwise).
|
Modifier and Type | Method and Description |
---|---|
static FxmlImportOption |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static FxmlImportOption[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FxmlImportOption NONE
public static final FxmlImportOption GENERATE_NORMALS
FxmlModelImporter.setCreaseAngle(double)
public static final FxmlImportOption IGNORE_CAMERAS
Nevertheless, the camera elements will be read and Viewpoint
objects will be created.
FxmlModelImporter.getViewpoints()
,
Viewpoint
public static final FxmlImportOption IGNORE_LIGHTS
public static final FxmlImportOption REVERSE_GEOMETRY
public static final FxmlImportOption MAP_WRITABLEIMAGE
PhongMaterial
object will be of type WritableImage
.public static FxmlImportOption[] values()
for (FxmlImportOption c : FxmlImportOption.values()) System.out.println(c);
public static FxmlImportOption valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullCopyright (C) 2013-2014 InteractiveMesh e.K.