Class Attenuation
Inheritance
java.lang.Object
Attenuation
Syntax
public class Attenuation extends Vector3f
Constructors
Attenuation(float constant, float linear, float exponent)
Declaration
public Attenuation(float constant, float linear, float exponent)
Parameters
Type |
Name |
Description |
float |
constant |
|
float |
linear |
|
float |
exponent |
|
Methods
getConstant()
Declaration
public float getConstant()
Returns
getExponent()
Declaration
public float getExponent()
Returns
getLinear()
Declaration
Returns
setConstant(float constant)
Declaration
public void setConstant(float constant)
Parameters
Type |
Name |
Description |
float |
constant |
|
setExponent(float exponent)
Declaration
public void setExponent(float exponent)
Parameters
Type |
Name |
Description |
float |
exponent |
|
setLinear(float linear)
Declaration
public void setLinear(float linear)
Parameters
Type |
Name |
Description |
float |
linear |
|