com.threerings.expr
Class Vector3fExpression.Constant

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

public static class Vector3fExpression.Constant
extends Vector3fExpression

A constant expression.


Nested Class Summary
 
Nested classes/interfaces inherited from class com.threerings.expr.Vector3fExpression
Vector3fExpression.Cartesian, Vector3fExpression.Constant, Vector3fExpression.Reference
 
Nested classes/interfaces inherited from class com.threerings.expr.ObjectExpression
ObjectExpression.Evaluator<T>
 
Field Summary
 Vector3f value
          The value of the constant.
 
Constructor Summary
Vector3fExpression.Constant()
          Creates a new constant expression with a value of zero.
Vector3fExpression.Constant(Vector3f value)
          Creates a new constant expression with the specified value.
 
Method Summary
 ObjectExpression.Evaluator<Vector3f> createEvaluator(Scope scope)
          Creates an expression evaluator for the supplied context.
 
Methods inherited from class com.threerings.expr.ObjectExpression
invalidate
 
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

value

@Editable(step=0.01)
public Vector3f value
The value of the constant.

Constructor Detail

Vector3fExpression.Constant

public Vector3fExpression.Constant(Vector3f value)
Creates a new constant expression with the specified value.


Vector3fExpression.Constant

public Vector3fExpression.Constant()
Creates a new constant expression with a value of zero.

Method Detail

createEvaluator

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

Specified by:
createEvaluator in class ObjectExpression<Vector3f>


Copyright © 2011. All Rights Reserved.