Class SpotLight
- java.lang.Object
-
- com.badlogic.gdx.graphics.g3d.environment.BaseLight<SpotLight>
-
- com.badlogic.gdx.graphics.g3d.environment.SpotLight
-
-
Constructor Summary
Constructors Constructor Description SpotLight()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(SpotLight other)booleanequals(java.lang.Object obj)SpotLightset(float r, float g, float b, float posX, float posY, float posZ, float dirX, float dirY, float dirZ, float intensity, float cutoffAngle, float exponent)SpotLightset(float r, float g, float b, Vector3 position, Vector3 direction, float intensity, float cutoffAngle, float exponent)SpotLightset(Color color, float posX, float posY, float posZ, float dirX, float dirY, float dirZ, float intensity, float cutoffAngle, float exponent)SpotLightset(Color color, Vector3 position, Vector3 direction, float intensity, float cutoffAngle, float exponent)SpotLightset(SpotLight copyFrom)SpotLightsetCutoffAngle(float cutoffAngle)SpotLightsetDirection(float directionX, float directionY, float directionZ)SpotLightsetDirection(Vector3 direction)SpotLightsetExponent(float exponent)SpotLightsetIntensity(float intensity)SpotLightsetPosition(float positionX, float positionY, float positionZ)SpotLightsetPosition(Vector3 position)SpotLightsetTarget(Vector3 target)
-
-
-
Method Detail
-
setPosition
public SpotLight setPosition(float positionX, float positionY, float positionZ)
-
setDirection
public SpotLight setDirection(float directionX, float directionY, float directionZ)
-
setIntensity
public SpotLight setIntensity(float intensity)
-
setCutoffAngle
public SpotLight setCutoffAngle(float cutoffAngle)
-
setExponent
public SpotLight setExponent(float exponent)
-
set
public SpotLight set(Color color, Vector3 position, Vector3 direction, float intensity, float cutoffAngle, float exponent)
-
set
public SpotLight set(float r, float g, float b, Vector3 position, Vector3 direction, float intensity, float cutoffAngle, float exponent)
-
set
public SpotLight set(Color color, float posX, float posY, float posZ, float dirX, float dirY, float dirZ, float intensity, float cutoffAngle, float exponent)
-
set
public SpotLight set(float r, float g, float b, float posX, float posY, float posZ, float dirX, float dirY, float dirZ, float intensity, float cutoffAngle, float exponent)
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
equals
public boolean equals(SpotLight other)
-
-