public enum RacingCameraAngle extends java.lang.Enum<RacingCameraAngle>
Enum Constant and Description |
---|
Back
Traditional third-person camera view from behind the car.
|
Front
Camera view from in front of the car.
|
Inside
Camera view from inside the car, looking through the windscreen.
|
Modifier and Type | Method and Description |
---|---|
static RacingCameraAngle |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RacingCameraAngle[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RacingCameraAngle Back
public static final RacingCameraAngle Front
public static final RacingCameraAngle Inside
public static RacingCameraAngle[] values()
for (RacingCameraAngle c : RacingCameraAngle.values()) System.out.println(c);
public static RacingCameraAngle 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