com.threerings.expr
Class Color4fExpression.Blend

java.lang.Object
  extended by com.threerings.util.DeepObject
      extended by com.threerings.expr.ObjectExpression<Color4f>
          extended by com.threerings.expr.Color4fExpression
              extended by com.threerings.expr.Color4fExpression.Blend
All Implemented Interfaces:
Exportable, Copyable, Cloneable
Enclosing class:
Color4fExpression

public static class Color4fExpression.Blend
extends Color4fExpression

An expression that blends between two colors.


Nested Class Summary
 
Nested classes/interfaces inherited from class com.threerings.expr.Color4fExpression
Color4fExpression.Blend, Color4fExpression.Constant, Color4fExpression.Reference
 
Nested classes/interfaces inherited from class com.threerings.expr.ObjectExpression
ObjectExpression.Evaluator<T>
 
Field Summary
 FloatExpression blendFactor
          The blend factor.
 Color4fExpression firstColor
          The first color.
 Color4fExpression secondColor
          The second color.
 
Constructor Summary
Color4fExpression.Blend()
           
 
Method Summary
 ObjectExpression.Evaluator<Color4f> createEvaluator(Scope scope)
          Creates an expression evaluator for the supplied context.
 void invalidate()
          Invalidates any cached data.
 
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

firstColor

@Editable
public Color4fExpression firstColor
The first color.


secondColor

@Editable
public Color4fExpression secondColor
The second color.


blendFactor

@Editable
public FloatExpression blendFactor
The blend factor.

Constructor Detail

Color4fExpression.Blend

public Color4fExpression.Blend()
Method Detail

createEvaluator

public ObjectExpression.Evaluator<Color4f> createEvaluator(Scope scope)
Description copied from class: ObjectExpression
Creates an expression evaluator for the supplied context.

Specified by:
createEvaluator in class ObjectExpression<Color4f>

invalidate

public void invalidate()
Description copied from class: ObjectExpression
Invalidates any cached data.

Overrides:
invalidate in class ObjectExpression<Color4f>


Copyright © 2011. All Rights Reserved.