Package com.ardor3d.scenegraph.extension
Enum Class BillboardNode.BillboardAlignment
java.lang.Object
java.lang.Enum<BillboardNode.BillboardAlignment>
com.ardor3d.scenegraph.extension.BillboardNode.BillboardAlignment
- All Implemented Interfaces:
Serializable
,Comparable<BillboardNode.BillboardAlignment>
,Constable
- Enclosing class:
BillboardNode
Method of alignment to use. See individual enum values for details.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionRotate the billboard to face in the camera's direction by rotating around the X axis.Rotate the billboard to face in the camera's direction by rotating around the Y axis.Rotate the billboard to face in the camera's direction by rotating around the Z axis.Rotate the billboard so it points directly towards the camera's direction.Do not change the node's rotation.Rotate the billboard so it points directly opposite the direction the camera's facing. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static BillboardNode.BillboardAlignment[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
None
Do not change the node's rotation. Useful for situations where you can not remove a billboard node from a hierarchy, but do not want the rotation to change. -
ScreenAligned
Rotate the billboard so it points directly opposite the direction the camera's facing. -
CameraAligned
Rotate the billboard so it points directly towards the camera's direction. -
AxialX
Rotate the billboard to face in the camera's direction by rotating around the X axis. -
AxialY
Rotate the billboard to face in the camera's direction by rotating around the Y axis. -
AxialZ
Rotate the billboard to face in the camera's direction by rotating around the Z axis.
-
-
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
-