Enum LightModel

java.lang.Object
java.lang.Enum<LightModel>
org.jzy3d.plot3d.rendering.lights.LightModel
All Implemented Interfaces:
Serializable, Comparable<LightModel>, java.lang.constant.Constable

public enum LightModel extends Enum<LightModel>
A simple enum to define light models, as documented in the Light javadoc.
Author:
Martin Pernollet
  • Enum Constant Details

    • LIGHT_MODEL_AMBIENT

      public static final LightModel LIGHT_MODEL_AMBIENT
    • LIGHT_MODEL_TWO_SIDE

      public static final LightModel LIGHT_MODEL_TWO_SIDE
    • LIGHT_MODEL_LOCAL_VIEWER

      public static final LightModel LIGHT_MODEL_LOCAL_VIEWER
  • Method Details

    • values

      public static LightModel[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static LightModel 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