Enum ParticleSystem.Origin

    • Enum Constant Detail

      • BOTTOM_CENTER

        public static final ParticleSystem.Origin BOTTOM_CENTER
        The billboard origin is the center of bottom edge.
      • BOTTOM_LEFT

        public static final ParticleSystem.Origin BOTTOM_LEFT
        The billboard origin is the bottom-left corner.
      • BOTTOM_RIGHT

        public static final ParticleSystem.Origin BOTTOM_RIGHT
        The billboard origin is the bottom-right corner.
      • CENTER_LEFT

        public static final ParticleSystem.Origin CENTER_LEFT
        The billboard origin is the center of left edge.
      • CENTER_RIGHT

        public static final ParticleSystem.Origin CENTER_RIGHT
        The billboard origin is the center of right edge.
      • TOP_CENTER

        public static final ParticleSystem.Origin TOP_CENTER
        The billboard origin is the center of top edge.
      • TOP_LEFT

        public static final ParticleSystem.Origin TOP_LEFT
        The billboard origin is the top-left corner.
      • TOP_RIGHT

        public static final ParticleSystem.Origin TOP_RIGHT
        The billboard origin is the top-right corner.
    • Method Detail

      • values

        public static ParticleSystem.Origin[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (ParticleSystem.Origin c : ParticleSystem.Origin.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static ParticleSystem.Origin valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
        NullPointerException - if the argument is null
      • getValue

        public int getValue()