public enum ModelTransformationType extends Enum<ModelTransformationType> implements Enumeration
ModelTransformation
changes the geometry of the ModelArticulation
it is associated with.ModelTransformation
,
ModelArticulation
,
ModelPrimitive
Enum Constant and Description |
---|
ROTATE_X
Rotates the geometry about the X axis.
|
ROTATE_Y
Rotates the geometry about the Y axis.
|
ROTATE_Z
Rotates the geometry about the Z axis.
|
SCALE_UNIFORM
Scales the geometry uniformly along the X, Y, and Z axes.
|
SCALE_X
Scales the geometry along the X axis.
|
SCALE_Y
Scales the geometry along the Y axis.
|
SCALE_Z
Scales the geometry along the Z axis.
|
TEXTURE_ROTATE_X
Rotates the
texture associated with the geometry about the X axis. |
TEXTURE_ROTATE_Y
Rotates the
texture associated with the geometry about the Y axis. |
TEXTURE_ROTATE_Z
Rotates the
texture associated with the geometry about the Z axis. |
TEXTURE_SCALE_UNIFORM
Scales the
texture associated with the geometry uniformly along the X, Y, and Z axes. |
TEXTURE_SCALE_X
Scales the
texture associated with the geometry along the X axis. |
TEXTURE_SCALE_Y
Scales the
texture associated with the geometry along the Y axis. |
TEXTURE_SCALE_Z
Scales the
texture associated with the geometry along the Z axis. |
TEXTURE_TRANSLATE_X
Translates the
texture associated with the geometry along the X axis. |
TEXTURE_TRANSLATE_Y
Translates the
texture associated with the geometry along the Y axis. |
TEXTURE_TRANSLATE_Z
Translates the
texture associated with the geometry along the Z axis. |
TRANSLATE_BLUE
Translates the
blue band of color associated with the geometry. |
TRANSLATE_GREEN
Translates the
green band of color associated with the geometry. |
TRANSLATE_RED
Translates the
red band of color associated with the geometry. |
TRANSLATE_X
Translates the geometry along the X axis.
|
TRANSLATE_Y
Translates the geometry along the Y axis.
|
TRANSLATE_Z
Translates the geometry along the Z axis.
|
Modifier and Type | Method and Description |
---|---|
static ModelTransformationType |
getDefault()
Get the enum constant that is considered to be the default.
|
static ModelTransformationType |
getFromValue(int value)
Get the enum constant that is associated with the given numeric value.
|
int |
getValue()
Get the numeric value associated with this enum constant.
|
static ModelTransformationType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ModelTransformationType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ModelTransformationType TRANSLATE_X
public static final ModelTransformationType TRANSLATE_Y
public static final ModelTransformationType TRANSLATE_Z
public static final ModelTransformationType ROTATE_X
public static final ModelTransformationType ROTATE_Y
public static final ModelTransformationType ROTATE_Z
public static final ModelTransformationType SCALE_X
public static final ModelTransformationType SCALE_Y
public static final ModelTransformationType SCALE_Z
public static final ModelTransformationType SCALE_UNIFORM
public static final ModelTransformationType TEXTURE_TRANSLATE_X
texture
associated with the geometry along the X axis.public static final ModelTransformationType TEXTURE_TRANSLATE_Y
texture
associated with the geometry along the Y axis.public static final ModelTransformationType TEXTURE_TRANSLATE_Z
texture
associated with the geometry along the Z axis.public static final ModelTransformationType TEXTURE_ROTATE_X
texture
associated with the geometry about the X axis.public static final ModelTransformationType TEXTURE_ROTATE_Y
texture
associated with the geometry about the Y axis.public static final ModelTransformationType TEXTURE_ROTATE_Z
texture
associated with the geometry about the Z axis.public static final ModelTransformationType TEXTURE_SCALE_X
texture
associated with the geometry along the X axis.public static final ModelTransformationType TEXTURE_SCALE_Y
texture
associated with the geometry along the Y axis.public static final ModelTransformationType TEXTURE_SCALE_Z
texture
associated with the geometry along the Z axis.public static final ModelTransformationType TEXTURE_SCALE_UNIFORM
texture
associated with the geometry uniformly along the X, Y, and Z axes.public static final ModelTransformationType TRANSLATE_RED
red band
of color associated with the geometry.public static final ModelTransformationType TRANSLATE_GREEN
green band
of color associated with the geometry.public static final ModelTransformationType TRANSLATE_BLUE
blue band
of color associated with the geometry.public static ModelTransformationType[] values()
for (ModelTransformationType c : ModelTransformationType.values()) System.out.println(c);
public static ModelTransformationType 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 nullpublic int getValue()
getValue
in interface Enumeration
@Nonnull public static ModelTransformationType getFromValue(int value)
value
- a numeric value.@Nonnull public static ModelTransformationType getDefault()