com.threerings.opengl.renderer.config
Class ColorStateConfig

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

public class ColorStateConfig
extends DeepObject
implements Exportable

Configurable color state.


Field Summary
 Color4f color
          The color.
 boolean uniqueInstance
          If true, do not use a shared instance.
 
Constructor Summary
ColorStateConfig()
           
 
Method Summary
 ColorState getState()
          Returns the corresponding color state.
 
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

color

@Editable(mode="alpha",
          hgroup="c")
public Color4f color
The color.


uniqueInstance

@Editable(hgroup="c")
public boolean uniqueInstance
If true, do not use a shared instance.

Constructor Detail

ColorStateConfig

public ColorStateConfig()
Method Detail

getState

public ColorState getState()
Returns the corresponding color state.



Copyright © 2011. All Rights Reserved.