public class ConstantNode extends ValueNode
DEFAULT_INPUT| Constructor and Description |
|---|
ConstantNode(float value) |
| Modifier and Type | Method and Description |
|---|---|
float |
calculateValue(long frameTimeNanos)
This node should calculate and set a new value based on frame time and its parents (the nodes
it depends on).
|
public float calculateValue(long frameTimeNanos)
ValueNodecalculateValue in class ValueNode