public class DirectionalLightEx
extends com.badlogic.gdx.graphics.g3d.environment.DirectionalLight
| Modifier and Type | Field and Description |
|---|---|
com.badlogic.gdx.graphics.Color |
baseColor
base color clamped
|
float |
intensity
light intensity in lux (lm/m2)
|
| Constructor and Description |
|---|
DirectionalLightEx() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(com.badlogic.gdx.graphics.g3d.environment.DirectionalLight other) |
boolean |
equals(DirectionalLightEx other) |
DirectionalLightEx |
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 |
updateColor() |
public final com.badlogic.gdx.graphics.Color baseColor
public float intensity
public com.badlogic.gdx.graphics.g3d.environment.DirectionalLight set(com.badlogic.gdx.graphics.g3d.environment.DirectionalLight copyFrom)
set in class com.badlogic.gdx.graphics.g3d.environment.DirectionalLightpublic DirectionalLightEx set(com.badlogic.gdx.graphics.Color baseColor, com.badlogic.gdx.math.Vector3 direction, float intensity)
public void updateColor()
public boolean equals(com.badlogic.gdx.graphics.g3d.environment.DirectionalLight other)
equals in class com.badlogic.gdx.graphics.g3d.environment.DirectionalLightpublic boolean equals(DirectionalLightEx other)