Enum Class Spatial.DFSMode

java.lang.Object
java.lang.Enum<Spatial.DFSMode>
com.jme3.scene.Spatial.DFSMode
All Implemented Interfaces:
Serializable, Comparable<Spatial.DFSMode>, Constable
Enclosing class:
Spatial

public static enum Spatial.DFSMode extends Enum<Spatial.DFSMode>
Specifies the mode of the depth first search.
  • Enum Constant Details

    • PRE_ORDER

      public static final Spatial.DFSMode PRE_ORDER
      Pre order: the current spatial is visited first, then its children.
    • POST_ORDER

      public static final Spatial.DFSMode POST_ORDER
      Post order: the children are visited first, then the parent.
  • Method Details

    • values

      public static Spatial.DFSMode[] 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 Spatial.DFSMode 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