|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.threerings.util.DeepObject
com.threerings.opengl.effect.FloatFunction
com.threerings.opengl.effect.FloatFunction.Multipoint
public static class FloatFunction.Multipoint
A float function that blends between an arbitrary number of values.
| Nested Class Summary | |
|---|---|
static class |
FloatFunction.Multipoint.Point
A single point to blend between. |
| Nested classes/interfaces inherited from class com.threerings.opengl.effect.FloatFunction |
|---|
FloatFunction.Constant, FloatFunction.InAndOut, FloatFunction.Linear, FloatFunction.Multipoint, FloatFunction.ThreePoint |
| Field Summary | |
|---|---|
float |
end
The final value. |
FloatFunction.Multipoint.Point[] |
middle
The entries in between the start and end. |
float |
start
The starting value. |
| Constructor Summary | |
|---|---|
FloatFunction.Multipoint()
No-arg constructor for deserialization, etc. |
|
FloatFunction.Multipoint(FloatFunction.InAndOut function)
Creates a multipoint function with the other function's parameters. |
|
FloatFunction.Multipoint(FloatFunction.ThreePoint function)
Creates a multipoint function with the other function's parameters. |
|
FloatFunction.Multipoint(FloatFunction function)
Creates a multipoint function with the other function's start and end. |
|
| Method Summary | |
|---|---|
FloatFunction |
copy(FloatFunction result)
Copies this function. |
float |
getValue(float t)
Computes the value at the specified time. |
| 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 |
|---|
@Editable(min=-1d/0d,
max=-1d/0d,
step=-1d/0d,
scale=-1d/0d)
public float start
@Editable(min=-1d/0d,
max=-1d/0d,
step=-1d/0d,
scale=-1d/0d)
public FloatFunction.Multipoint.Point[] middle
@Editable(min=-1d/0d,
max=-1d/0d,
step=-1d/0d,
scale=-1d/0d)
public float end
| Constructor Detail |
|---|
public FloatFunction.Multipoint(FloatFunction function)
public FloatFunction.Multipoint(FloatFunction.InAndOut function)
public FloatFunction.Multipoint(FloatFunction.ThreePoint function)
public FloatFunction.Multipoint()
| Method Detail |
|---|
public float getValue(float t)
FloatFunction
getValue in class FloatFunctionpublic FloatFunction copy(FloatFunction result)
FloatFunction
copy in class FloatFunctionresult - an object to repopulate, if possible.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||