public enum ProjectionMode extends java.lang.Enum<ProjectionMode>
Enum Constant and Description |
---|
PROJECTION_MODE_ORTHOGONAL
Orthogonal projection mode means that the size of the objects on the screen
does not depend on their distance from the camera. |
PROJECTION_MODE_PERSPECTIVE
Perspective projection means that the further away objects get from the camera the smaller
they appear on the screen. |
Modifier and Type | Method and Description |
---|---|
static ProjectionMode |
swigToEnum(int swigValue) |
int |
swigValue() |
static ProjectionMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ProjectionMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ProjectionMode PROJECTION_MODE_ORTHOGONAL
public static final ProjectionMode PROJECTION_MODE_PERSPECTIVE
public static ProjectionMode[] values()
for (ProjectionMode c : ProjectionMode.values()) System.out.println(c);
public static ProjectionMode 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 nullpublic final int swigValue()
public static ProjectionMode swigToEnum(int swigValue)