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