|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.threerings.util.DeepObject
com.threerings.probs.ColorVariable
com.threerings.probs.ColorVariable.Uniform
public static class ColorVariable.Uniform
Returns values uniformly distributed in RGBA space.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.threerings.probs.ColorVariable |
|---|
ColorVariable.Constant, ColorVariable.Uniform |
| Nested classes/interfaces inherited from interface com.threerings.io.Streamable |
|---|
com.threerings.io.Streamable.Closure |
| Field Summary | |
|---|---|
Color4f |
maximum
The maximum extent. |
Color4f |
minimum
The minimum extent. |
| Constructor Summary | |
|---|---|
ColorVariable.Uniform()
No-arg constructor for deserialization, etc. |
|
ColorVariable.Uniform(ColorVariable variable)
Creates a uniform variable from the parameters of the other variable. |
|
| Method Summary | |
|---|---|
Color4f |
getMean(Color4f result)
Computes the mean value. |
Color4f |
getValue(Color4f result)
Computes a sample value according to the variable's distribution. |
| 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(mode="%INHERIT%") public Color4f minimum
@Editable(mode="%INHERIT%") public Color4f maximum
| Constructor Detail |
|---|
public ColorVariable.Uniform(ColorVariable variable)
public ColorVariable.Uniform()
| Method Detail |
|---|
public Color4f getValue(Color4f result)
ColorVariable
getValue in class ColorVariablepublic Color4f getMean(Color4f result)
ColorVariable
getMean in class ColorVariable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||