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

public static enum BillboardNode.BillboardAlignment extends Enum<BillboardNode.BillboardAlignment>
Method of alignment to use. See individual enum values for details.
  • Enum Constant Details

    • None

      public static final BillboardNode.BillboardAlignment 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

      public static final BillboardNode.BillboardAlignment ScreenAligned
      Rotate the billboard so it points directly opposite the direction the camera's facing.
    • CameraAligned

      public static final BillboardNode.BillboardAlignment CameraAligned
      Rotate the billboard so it points directly towards the camera's direction.
    • AxialX

      public static final BillboardNode.BillboardAlignment AxialX
      Rotate the billboard to face in the camera's direction by rotating around the X axis.
    • AxialY

      public static final BillboardNode.BillboardAlignment AxialY
      Rotate the billboard to face in the camera's direction by rotating around the Y axis.
    • AxialZ

      public static final BillboardNode.BillboardAlignment AxialZ
      Rotate the billboard to face in the camera's direction by rotating around the Z axis.
  • Method Details

    • values

      public static BillboardNode.BillboardAlignment[] 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

      public static BillboardNode.BillboardAlignment valueOf(String name)
      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 name
      NullPointerException - if the argument is null