public enum X3dImportOption extends java.lang.Enum<X3dImportOption>
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 X3dImportOption |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static X3dImportOption[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final X3dImportOption NONE
public static final X3dImportOption GENERATE_NORMALS
X3dModelImporter.setCreaseAngle(double)
public static final X3dImportOption IGNORE_CAMERAS
Nevertheless, the Viewpoint nodes will be read and Viewpoint objects will be created.
X3dModelImporter.getViewpoints()
,
Viewpoint
public static final X3dImportOption IGNORE_LIGHTS
public static final X3dImportOption REVERSE_GEOMETRY
Box
, Cylinder
, and Sphere
will not be reversed.public static final X3dImportOption MAP_WRITABLEIMAGE
PhongMaterial
object will be of type WritableImage
.public static X3dImportOption[] values()
for (X3dImportOption c : X3dImportOption.values()) System.out.println(c);
public static X3dImportOption 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.