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

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

public static class ColorizationConfig.FullyCustom
extends ColorizationConfig

A fully custom colorization.


Nested Class Summary
 
Nested classes/interfaces inherited from class com.threerings.opengl.renderer.config.ColorizationConfig
ColorizationConfig.CustomOffsets, ColorizationConfig.FullyCustom, ColorizationConfig.Normal, ColorizationConfig.Triplet
 
Nested classes/interfaces inherited from interface com.threerings.io.Streamable
com.threerings.io.Streamable.Closure
 
Field Summary
 ColorizationConfig.Triplet offsets
          The color offsets.
 ColorizationConfig.Triplet range
          The range to recolor.
 Color4f source
          The source color.
 
Constructor Summary
ColorizationConfig.FullyCustom()
           
 
Method Summary
 com.threerings.media.image.Colorization getColorization(GlContext ctx)
          Returns the colorization for this config.
 
Methods inherited from class com.threerings.opengl.renderer.config.ColorizationConfig
createConfig
 
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

source

@Editable
public Color4f source
The source color.


range

@Editable
public ColorizationConfig.Triplet range
The range to recolor.


offsets

@Editable
public ColorizationConfig.Triplet offsets
The color offsets.

Constructor Detail

ColorizationConfig.FullyCustom

public ColorizationConfig.FullyCustom()
Method Detail

getColorization

public com.threerings.media.image.Colorization getColorization(GlContext ctx)
Description copied from class: ColorizationConfig
Returns the colorization for this config.

Specified by:
getColorization in class ColorizationConfig


Copyright © 2011. All Rights Reserved.