Class IDToFloatNode
Namespace: ValveResourceFormat.Animation
Assembly: ValveResourceFormat.dll
public class IDToFloatNode : FloatValueNodeInheritance
object ← GraphNode ← ValueNode ← FloatValueNode ← IDToFloatNode
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
IDToFloatNode(KVObject)
Reads the IDToFloatNode from its KeyValues3 data.
public IDToFloatNode(KVObject data)Parameters
data KVObject
Properties
DefaultValue
[KVProperty("m_defaultValue")]
public float DefaultValue { get; }Property Value
float
IDs
public StringToken[] IDs { get; }Property Value
InputValueNodeIdx
public short InputValueNodeIdx { get; }Property Value
short
Values
public float[] Values { get; }Property Value
float[]
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

