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

Light attenuation.
Collada 1.5 :
The , , and are
used to calculate the total attenuation of this light given a distance.
The equation used is :
A = constant_attenuation + ( Dist * linear_attenuation ) + (( Dist^2 ) * quadratic_attenuation )
author  Johann Sorel


Variables : -
Functions : Attenuation, Attenuation, getConstant, setConstant, getLinear, setLinear, getquadratic, setQuadratic



public void Attenuation ()

public void Attenuation (float constant, float linear, float quadratic)

public float getConstant ()

public void setConstant (float constant)

public float getLinear ()

public void setLinear (float linear)

public float getquadratic ()

public void setQuadratic (float exp)