Class SpotLight
Inheritance
java.lang.Object
SpotLight
Syntax
public class SpotLight extends PointLight
Constructors
SpotLight(Vector3f color, float intensity, Attenuation attenuation, float cutoff)
Declaration
public SpotLight(Vector3f color, float intensity, Attenuation attenuation, float cutoff)
Parameters
Methods
getCutoff()
Declaration
Returns
getDirection()
Declaration
public Vector3f getDirection()
Returns
setCutoff(float cutoff)
Declaration
public void setCutoff(float cutoff)
Parameters
Type |
Name |
Description |
float |
cutoff |
|