com.threerings.opengl.renderer.config
Class ColorizationConfig.Triplet

java.lang.Object
  extended by com.threerings.util.DeepObject
      extended by com.threerings.opengl.renderer.config.ColorizationConfig.Triplet
All Implemented Interfaces:
Exportable, com.threerings.io.Streamable, Copyable, Cloneable
Enclosing class:
ColorizationConfig

public static class ColorizationConfig.Triplet
extends DeepObject
implements Exportable, com.threerings.io.Streamable

Represents a set of hue, saturation, and value values.


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.threerings.io.Streamable
com.threerings.io.Streamable.Closure
 
Field Summary
 float hue
          The hue, saturation, and value offsets.
 float saturation
          The hue, saturation, and value offsets.
 float value
          The hue, saturation, and value offsets.
 
Constructor Summary
ColorizationConfig.Triplet()
           
 
Method Summary
 float[] getValues()
          Returns a float array containing the triplet values.
 
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

hue

@Editable(min=-1.0,
          max=1.0,
          step=0.0010,
          hgroup="v")
public float hue
The hue, saturation, and value offsets.


saturation

@Editable(min=-1.0,
          max=1.0,
          step=0.0010,
          hgroup="v")
public float saturation
The hue, saturation, and value offsets.


value

@Editable(min=-1.0,
          max=1.0,
          step=0.0010,
          hgroup="v")
public float value
The hue, saturation, and value offsets.

Constructor Detail

ColorizationConfig.Triplet

public ColorizationConfig.Triplet()
Method Detail

getValues

public float[] getValues()
Returns a float array containing the triplet values.



Copyright © 2011. All Rights Reserved.