Maven module :un.engine : engine-opengl :
Class : un.engine.opengl.light.SpotLight
Extends/Implements : un.engine.opengl.light.PointLight
Subclasses : -

Spot light.
Position and Direction are provided by the GLNode matrix.
Collada 1.5 :
A spot light source radiates light in one direction in a cone shape from a known location in space. The
intensity of the light is attenuated as the radiation angle increases away from the direction of the light
source. The intensity of a spot light source is also attenuated as the distance to the light source increases.
author  Johann Sorel


Variables : -
Functions : SpotLight, SpotLight, getWorldSpaceDirection, getFallOffAngle, setFallOffAngle, getFallOffExponent, setFallOffExponent



public void SpotLight ()

public void SpotLight (Color diffuse, Color specular, Attenuation attenuation, float falloffAngle, float falloffExponent)

public Tuple getWorldSpaceDirection ()

public float getFallOffAngle ()

public void setFallOffAngle (float angle)

public float getFallOffExponent ()

public void setFallOffExponent (float exp)