public enum CameraType extends java.lang.Enum<CameraType>
Enum Constant and Description |
---|
CAMERA_PITCH
不调整玩家的头,只调整镜头
|
CAMERA_ROLL
不调整玩家的头,只调整镜头
|
CAMERA_YAW
不调整玩家的头,只调整镜头
|
FOV
调整镜头的FOV
越小看的越远,可以实现望远镜的效果 |
OFFSET_X
偏移位置X
|
OFFSET_Y |
OFFSET_Z |
PITCH
上下移动视角
|
ROLL
歪头
|
YAW
左右移动视角
|
Modifier and Type | Method and Description |
---|---|
static CameraType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CameraType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CameraType PITCH
public static final CameraType YAW
public static final CameraType ROLL
public static final CameraType OFFSET_X
public static final CameraType OFFSET_Y
public static final CameraType OFFSET_Z
public static final CameraType CAMERA_PITCH
public static final CameraType CAMERA_YAW
public static final CameraType CAMERA_ROLL
public static final CameraType FOV
public static CameraType[] values()
for (CameraType c : CameraType.values()) System.out.println(c);
public static CameraType 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