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
Modifier and TypeFieldDescriptionfinal com.badlogic.gdx.graphics.Color
base color clampedfloat
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
-
Method Summary
Modifier and TypeMethodDescriptionboolean
equals
(com.badlogic.gdx.graphics.g3d.environment.DirectionalLight other) boolean
equals
(DirectionalLightEx other) 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
-
Field Details
-
baseColor
public final com.badlogic.gdx.graphics.Color baseColorbase color clamped -
intensity
public float intensitylight 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 classcom.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 classcom.badlogic.gdx.graphics.g3d.environment.DirectionalLight
-
set
- Overrides:
set
in classcom.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 classcom.badlogic.gdx.graphics.g3d.environment.DirectionalLight
-
set
- Overrides:
set
in classcom.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 classcom.badlogic.gdx.graphics.g3d.environment.DirectionalLight
-
equals
-