Class FloatSpringNode
Namespace: ValveResourceFormat.Animation
Assembly: ValveResourceFormat.dll
public class FloatSpringNode : FloatValueNodeInheritance
object ← GraphNode ← ValueNode ← FloatValueNode ← FloatSpringNode
Inherited Members
FloatValueNode.GetValue(GraphContext), FloatValueNode.GetValueInternal(GraphContext), ValueNode.Instantiate(GraphContext), GraphNode.NodeIdx, GraphNode.Instantiate(GraphContext), GraphNode.WasUpdated(GraphContext), GraphNode.MarkNodeActive(GraphContext), GraphNode.IsInitialized, GraphNode.Initialize(GraphContext), GraphNode.Shutdown(GraphContext), GraphNode.InitializeInternal(GraphContext), GraphNode.ShutdownInternal(GraphContext)
Constructors
FloatSpringNode(KVObject)
Reads the FloatSpringNode from its KeyValues3 data.
public FloatSpringNode(KVObject data)Parameters
data KVObject
Properties
DampingRatio
public float DampingRatio { get; }Property Value
float
Hertz
public float Hertz { get; }Property Value
float
InputValueNodeIdx
public short InputValueNodeIdx { get; }Property Value
short
StartValue
public float StartValue { get; }Property Value
float
UseStartValue
public bool UseStartValue { get; }Property Value
bool
Methods
GetValueInternal(GraphContext)
Evaluates the node value.
protected override float GetValueInternal(GraphContext ctx)Parameters
ctx GraphContext
Returns
float
InitializeInternal(GraphContext)
Resets the node state when it becomes active.
protected override void InitializeInternal(GraphContext ctx)Parameters
ctx GraphContext
Instantiate(GraphContext)
Wires child node references and definition-derived state. Runs once for every node in array order at graph construction.
public override void Instantiate(GraphContext ctx)Parameters
ctx GraphContext
ShutdownInternal(GraphContext)
Clears the node state when it becomes inactive.
protected override void ShutdownInternal(GraphContext ctx)Parameters
ctx GraphContext

