Class SpotLightEx

java.lang.Object
com.badlogic.gdx.graphics.g3d.environment.BaseLight<com.badlogic.gdx.graphics.g3d.environment.SpotLight>
com.badlogic.gdx.graphics.g3d.environment.SpotLight
gaiasky.util.gdx.model.gltf.scene3d.lights.SpotLightEx

public class SpotLightEx extends com.badlogic.gdx.graphics.g3d.environment.SpotLight
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    Optional range in meters.

    Fields inherited from class com.badlogic.gdx.graphics.g3d.environment.SpotLight

    cutoffAngle, direction, exponent, intensity, position

    Fields inherited from class com.badlogic.gdx.graphics.g3d.environment.BaseLight

    color
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    set(com.badlogic.gdx.graphics.Color color, com.badlogic.gdx.math.Vector3 position, com.badlogic.gdx.math.Vector3 direction, float intensity, float cutoffAngle, float exponent, Float range)
    com.badlogic.gdx.graphics.g3d.environment.SpotLight
    set(com.badlogic.gdx.graphics.g3d.environment.SpotLight copyFrom)
     
    setConeDeg(float outerConeAngleDeg, float innerConeAngleDeg)
     
    setConeRad(float outerConeAngleRad, float innerConeAngleRad)
     
    setDeg(com.badlogic.gdx.graphics.Color color, com.badlogic.gdx.math.Vector3 position, com.badlogic.gdx.math.Vector3 direction, float intensity, float outerConeAngleDeg, float innerConeAngleDeg, Float range)
     
    setRad(com.badlogic.gdx.graphics.Color color, com.badlogic.gdx.math.Vector3 position, com.badlogic.gdx.math.Vector3 direction, float intensity, float outerConeAngleRad, float innerConeAngleRad, Float range)
     

    Methods inherited from class com.badlogic.gdx.graphics.g3d.environment.SpotLight

    equals, equals, set, set, set, set, setCutoffAngle, setDirection, setDirection, setExponent, setIntensity, setPosition, setPosition, setTarget

    Methods inherited from class com.badlogic.gdx.graphics.g3d.environment.BaseLight

    setColor, setColor

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • range

      public Float range
      Optional range in meters. see net.mgsx.gltf.data.extensions.KHRLightsPunctual.GLTFLight#range
  • Constructor Details

    • SpotLightEx

      public SpotLightEx()
  • Method Details

    • set

      public com.badlogic.gdx.graphics.g3d.environment.SpotLight set(com.badlogic.gdx.graphics.g3d.environment.SpotLight copyFrom)
      Overrides:
      set in class com.badlogic.gdx.graphics.g3d.environment.SpotLight
    • set

      @Deprecated public SpotLightEx set(com.badlogic.gdx.graphics.Color color, com.badlogic.gdx.math.Vector3 position, com.badlogic.gdx.math.Vector3 direction, float intensity, float cutoffAngle, float exponent, Float range)
    • setRad

      public SpotLightEx setRad(com.badlogic.gdx.graphics.Color color, com.badlogic.gdx.math.Vector3 position, com.badlogic.gdx.math.Vector3 direction, float intensity, float outerConeAngleRad, float innerConeAngleRad, Float range)
    • setDeg

      public SpotLightEx setDeg(com.badlogic.gdx.graphics.Color color, com.badlogic.gdx.math.Vector3 position, com.badlogic.gdx.math.Vector3 direction, float intensity, float outerConeAngleDeg, float innerConeAngleDeg, Float range)
    • setConeRad

      public SpotLightEx setConeRad(float outerConeAngleRad, float innerConeAngleRad)
    • setConeDeg

      public SpotLightEx setConeDeg(float outerConeAngleDeg, float innerConeAngleDeg)