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

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.CustomOffsets
All Implemented Interfaces:
Exportable, com.threerings.io.Streamable, Copyable, Cloneable
Enclosing class:
ColorizationConfig

public static class ColorizationConfig.CustomOffsets
extends ColorizationConfig

Uses a pository class and a custom color.


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
 int clazz
          The colorization class.
 ColorizationConfig.Triplet offsets
          The color offsets.
 
Constructor Summary
ColorizationConfig.CustomOffsets()
           
 
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

clazz

@Editable(editor="colorization",
          mode="class")
public int clazz
The colorization class.


offsets

@Editable
public ColorizationConfig.Triplet offsets
The color offsets.

Constructor Detail

ColorizationConfig.CustomOffsets

public ColorizationConfig.CustomOffsets()
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.