public class AnimatedPropertyNode extends ValueNode
DEFAULT_INPUT
Constructor and Description |
---|
AnimatedPropertyNode(Object mountContent,
AnimatedProperty animatedProperty) |
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).
|
void |
setMountContent(Object mountContent)
Sets the mount content that this
AnimatedPropertyNode updates a value on. |
void |
setValue(float value)
Manually sets the current value.
|
public AnimatedPropertyNode(Object mountContent, AnimatedProperty animatedProperty)
public void setMountContent(Object mountContent)
AnimatedPropertyNode
updates a value on.public void setValue(float value)
ValueNode
public float calculateValue(long frameTimeNanos)
ValueNode
calculateValue
in class ValueNode