com.threerings.opengl.renderer.config
Class ColorizationConfig.FullyCustom
java.lang.Object
com.threerings.util.DeepObject
com.threerings.opengl.renderer.config.ColorizationConfig
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 classes/interfaces inherited from interface com.threerings.io.Streamable |
com.threerings.io.Streamable.Closure |
|
Method Summary |
com.threerings.media.image.Colorization |
getColorization(GlContext ctx)
Returns the colorization for this config. |
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.
ColorizationConfig.FullyCustom
public ColorizationConfig.FullyCustom()
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.