public static enum SoFlatScreen.CameraModes extends java.lang.Enum<SoFlatScreen.CameraModes> implements IntegerValuedEnum
Enum Constant and Description |
---|
LEFT_VIEW
Rendering is done for left eye view.
|
MONOSCOPIC
Rendering is done for full view (i.e., with unmodified camera).
|
RIGHT_VIEW
Rendering is done for right eye view.
|
Modifier and Type | Method and Description |
---|---|
static SoFlatScreen.CameraModes |
fromValue(int val)
Deprecated.
Use
valueOf(int) instead. |
int |
getValue()
Returns the integer value of the enum constant.
|
static SoFlatScreen.CameraModes |
valueOf(int val)
Returns the enum constant of this type with the specified integer value
|
static SoFlatScreen.CameraModes |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SoFlatScreen.CameraModes[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SoFlatScreen.CameraModes MONOSCOPIC
public static final SoFlatScreen.CameraModes LEFT_VIEW
public static final SoFlatScreen.CameraModes RIGHT_VIEW
public static SoFlatScreen.CameraModes[] values()
for (SoFlatScreen.CameraModes c : SoFlatScreen.CameraModes.values()) System.out.println(c);
public static SoFlatScreen.CameraModes 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 null@Deprecated public static SoFlatScreen.CameraModes fromValue(int val)
valueOf(int)
instead.public static SoFlatScreen.CameraModes valueOf(int val)
public int getValue()
IntegerValuedEnum
getValue
in interface IntegerValuedEnum
Generated on January 23, 2025, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com