com.threerings.opengl.effect
Class FloatFunction.Multipoint.Point

java.lang.Object
  extended by com.threerings.util.DeepObject
      extended by com.threerings.opengl.effect.FloatFunction.Multipoint.Point
All Implemented Interfaces:
Exportable, Copyable, Cloneable
Enclosing class:
FloatFunction.Multipoint

public static class FloatFunction.Multipoint.Point
extends DeepObject
implements Exportable

A single point to blend between.


Field Summary
 float offset
          The time offset of the point.
 float value
          The value of the point.
 
Constructor Summary
FloatFunction.Multipoint.Point()
          No-arg constructor for deserialization, etc.
FloatFunction.Multipoint.Point(float value, float offset)
          Creates a new point with the given value and offset.
 
Method Summary
 void set(FloatFunction.Multipoint.Point other)
          Copies the fields of another point.
 
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(min=-1d/0d,
          max=-1d/0d,
          step=-1d/0d,
          scale=-1d/0d)
public float value
The value of the point.


offset

@Editable(min=0.0,
          max=1.0,
          step=0.01)
public float offset
The time offset of the point.

Constructor Detail

FloatFunction.Multipoint.Point

public FloatFunction.Multipoint.Point(float value,
                                      float offset)
Creates a new point with the given value and offset.


FloatFunction.Multipoint.Point

public FloatFunction.Multipoint.Point()
No-arg constructor for deserialization, etc.

Method Detail

set

public void set(FloatFunction.Multipoint.Point other)
Copies the fields of another point.



Copyright © 2011. All Rights Reserved.