public static enum Camera.Type extends Enum<Camera.Type>
This type mainly defines different camera projection matrix. Many other methods take this Type into account.
Enum Constant and Description |
---|
ORTHOGRAPHIC |
PERSPECTIVE |
Modifier and Type | Method and Description |
---|---|
static Camera.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Camera.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Camera.Type PERSPECTIVE
public static final Camera.Type ORTHOGRAPHIC
public static Camera.Type[] values()
for (Camera.Type c : Camera.Type.values()) System.out.println(c);
public static Camera.Type valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullProcessing Library proscene by Jean Pierre Charalambos. (c) 2014-2017 National University of Colombia