Class KHRLightsPunctual.GLTFLight

java.lang.Object
gaiasky.util.gdx.model.gltf.data.GLTFObject
gaiasky.util.gdx.model.gltf.data.extensions.KHRLightsPunctual.GLTFLight
Enclosing class:
KHRLightsPunctual

public static class KHRLightsPunctual.GLTFLight extends GLTFObject
  • Field Details

    • TYPE_DIRECTIONAL

      public static final String TYPE_DIRECTIONAL
      See Also:
    • TYPE_POINT

      public static final String TYPE_POINT
      See Also:
    • TYPE_SPOT

      public static final String TYPE_SPOT
      See Also:
    • name

      public String name
    • color

      public float[] color
    • intensity

      public float intensity
      in Candela for point/spot lights : Ev(lx) = Iv(cd) / (d(m))2 in Lux for directional lights : Ev(lx)
    • type

      public String type
    • range

      public Float range
      Hint defining a distance cutoff at which the light's intensity may be considered to have reached zero. When null, range is assumed to be infinite.
    • spot

  • Constructor Details

    • GLTFLight

      public GLTFLight()