Enum Class CameraEaseType
- All Implemented Interfaces:
Serializable,Comparable<CameraEaseType>,Constable
These are all the easing types that can be used when sending a
CameraPosition instruction.
When using these, the client won't teleport to the new camera position, but instead transition to it.
See https://easings.net/ for more information.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription -
Method Summary
Modifier and TypeMethodDescriptionid()static CameraEaseTypeReturns the enum constant of this class with the specified name.static CameraEaseType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
LINEAR
-
SPRING
-
EASE_IN_SINE
-
EASE_OUT_SINE
-
EASE_IN_OUT_SINE
-
EASE_IN_QUAD
-
EASE_OUT_QUAD
-
EASE_IN_OUT_QUAD
-
EASE_IN_CUBIC
-
EASE_OUT_CUBIC
-
EASE_IN_OUT_CUBIC
-
EASE_IN_QUART
-
EASE_OUT_QUART
-
EASE_IN_OUT_QUART
-
EASE_IN_QUINT
-
EASE_OUT_QUINT
-
EASE_IN_OUT_QUINT
-
EASE_IN_EXPO
-
EASE_OUT_EXPO
-
EASE_IN_OUT_EXPO
-
EASE_IN_CIRC
-
EASE_OUT_CIRC
-
EASE_IN_OUT_CIRC
-
EASE_IN_BACK
-
EASE_OUT_BACK
-
EASE_IN_OUT_BACK
-
EASE_IN_ELASTIC
-
EASE_OUT_ELASTIC
-
EASE_IN_OUT_ELASTIC
-
EASE_IN_BOUNCE
-
EASE_OUT_BOUNCE
-
EASE_IN_OUT_BOUNCE
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
id
-