com.threerings.opengl.renderer.config
Class MaterialStateConfig.Side

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

public static class MaterialStateConfig.Side
extends DeepObject
implements Exportable

The parameters of one side.


Field Summary
 Color4f ambient
          The ambient reflectivity.
 Color4f diffuse
          The diffuse reflectivity.
 Color4f emission
          The emissive color.
 float shininess
          The specular exponent.
 Color4f specular
          The specular reflectivity.
 
Constructor Summary
MaterialStateConfig.Side()
           
 
Method Summary
 void set(MaterialStateConfig.OneSided other)
          Sets all of the parameters to those in the supplied config.
 
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

ambient

@Editable(mode="alpha")
public Color4f ambient
The ambient reflectivity.


diffuse

@Editable(mode="alpha")
public Color4f diffuse
The diffuse reflectivity.


specular

@Editable(mode="alpha")
public Color4f specular
The specular reflectivity.


emission

@Editable(mode="alpha")
public Color4f emission
The emissive color.


shininess

@Editable(min=0.0,
          max=128.0,
          step=0.1)
public float shininess
The specular exponent.

Constructor Detail

MaterialStateConfig.Side

public MaterialStateConfig.Side()
Method Detail

set

public void set(MaterialStateConfig.OneSided other)
Sets all of the parameters to those in the supplied config.



Copyright © 2011. All Rights Reserved.