Class DirectionalLightEx

java.lang.Object
com.badlogic.gdx.graphics.g3d.environment.BaseLight<com.badlogic.gdx.graphics.g3d.environment.DirectionalLight>
com.badlogic.gdx.graphics.g3d.environment.DirectionalLight
gaiasky.util.gdx.model.gltf.scene3d.lights.DirectionalLightEx
Direct Known Subclasses:
DirectionalShadowLight

public class DirectionalLightEx extends com.badlogic.gdx.graphics.g3d.environment.DirectionalLight
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    final com.badlogic.gdx.graphics.Color
    base color clamped
    float
    light intensity in lux (lm/m2)

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

    direction

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

    color
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    equals(com.badlogic.gdx.graphics.g3d.environment.DirectionalLight other)
     
    boolean
     
    set(float r, float g, float b, float dirX, float dirY, float dirZ)
     
    set(float r, float g, float b, com.badlogic.gdx.math.Vector3 direction)
     
    set(com.badlogic.gdx.graphics.Color color, float dirX, float dirY, float dirZ)
     
    set(com.badlogic.gdx.graphics.Color color, com.badlogic.gdx.math.Vector3 direction)
     
    set(com.badlogic.gdx.graphics.Color baseColor, com.badlogic.gdx.math.Vector3 direction, float intensity)
     
    com.badlogic.gdx.graphics.g3d.environment.DirectionalLight
    set(com.badlogic.gdx.graphics.g3d.environment.DirectionalLight copyFrom)
     
    void
     

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

    equals, setDirection, setDirection

    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

    • baseColor

      public final com.badlogic.gdx.graphics.Color baseColor
      base color clamped
    • intensity

      public float intensity
      light intensity in lux (lm/m2)
  • Constructor Details

    • DirectionalLightEx

      public DirectionalLightEx()
  • Method Details

    • set

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

      public DirectionalLightEx set(com.badlogic.gdx.graphics.Color baseColor, com.badlogic.gdx.math.Vector3 direction, float intensity)
    • set

      public DirectionalLightEx set(com.badlogic.gdx.graphics.Color color, com.badlogic.gdx.math.Vector3 direction)
      Overrides:
      set in class com.badlogic.gdx.graphics.g3d.environment.DirectionalLight
    • set

      public DirectionalLightEx set(float r, float g, float b, com.badlogic.gdx.math.Vector3 direction)
      Overrides:
      set in class com.badlogic.gdx.graphics.g3d.environment.DirectionalLight
    • set

      public DirectionalLightEx set(com.badlogic.gdx.graphics.Color color, float dirX, float dirY, float dirZ)
      Overrides:
      set in class com.badlogic.gdx.graphics.g3d.environment.DirectionalLight
    • set

      public DirectionalLightEx set(float r, float g, float b, float dirX, float dirY, float dirZ)
      Overrides:
      set in class com.badlogic.gdx.graphics.g3d.environment.DirectionalLight
    • updateColor

      public void updateColor()
    • equals

      public boolean equals(com.badlogic.gdx.graphics.g3d.environment.DirectionalLight other)
      Overrides:
      equals in class com.badlogic.gdx.graphics.g3d.environment.DirectionalLight
    • equals

      public boolean equals(DirectionalLightEx other)