Enum Class LightSpace

java.lang.Object
java.lang.Enum<LightSpace>
ke.ric.renderer.api.LightSpace
All Implemented Interfaces:
Serializable, Comparable<LightSpace>, Constable

public enum LightSpace extends Enum<LightSpace>
Coordinate system for explicit light positions and directions. Positions are measured in blocks. Camera coordinates are right/up/forward and follow the effective frame camera, including roll; they are resolved again when an existing capture is rendered from a new camera pose.
  • Enum Constant Details

    • WORLD

      public static final LightSpace WORLD
      Absolute world coordinates; directions use world axes.
    • CAMERA

      public static final LightSpace CAMERA
      Offsets and directions relative to the effective camera: right, up and forward.
  • Method Details

    • values

      public static LightSpace[] 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 LightSpace 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