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 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
-
Method Summary
Modifier and TypeMethodDescriptionset
(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) Deprecated.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
-
Field Details
-
range
Optional range in meters. seenet.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 classcom.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
-
setConeDeg
-
setRad(Color, Vector3, Vector3, float, float, float, Float)
orsetDeg(Color, Vector3, Vector3, float, float, float, Float)
instead.