com.threerings.opengl.renderer.config
Class LightConfig.Attenuation

java.lang.Object
  extended by com.threerings.util.DeepObject
      extended by com.threerings.opengl.renderer.config.LightConfig.Attenuation
All Implemented Interfaces:
Exportable, Copyable, Cloneable
Enclosing class:
LightConfig

public static class LightConfig.Attenuation
extends DeepObject
implements Exportable

Represents the light's attenuation coefficients.


Field Summary
 float constant
          The constant attenutation.
 float linear
          The linear attenuation.
 float quadratic
          The quadratic attenutation.
 
Constructor Summary
LightConfig.Attenuation()
           
 
Method Summary
 
Methods inherited from class com.threerings.util.DeepObject
clone, copy, copy, equals, hashCode, toString
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

constant

@Editable(min=0.0,
          step=0.01)
public float constant
The constant attenutation.


linear

@Editable(min=0.0,
          step=0.01)
public float linear
The linear attenuation.


quadratic

@Editable(min=0.0,
          step=0.01)
public float quadratic
The quadratic attenutation.

Constructor Detail

LightConfig.Attenuation

public LightConfig.Attenuation()


Copyright © 2011. All Rights Reserved.