Class IDSwitchNode
Namespace: ValveResourceFormat.Animation
Assembly: ValveResourceFormat.dll
public class IDSwitchNode : IDValueNodeInheritance
object ← GraphNode ← ValueNode ← IDValueNode ← IDSwitchNode
Inherited Members
IDValueNode.GetValue(GraphContext), IDValueNode.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
IDSwitchNode(KVObject)
Reads the IDSwitchNode from its KeyValues3 data.
public IDSwitchNode(KVObject data)Parameters
data KVObject
Properties
FalseValue
public StringToken FalseValue { get; }Property Value
FalseValueNodeIdx
public short FalseValueNodeIdx { get; }Property Value
short
SwitchValueNodeIdx
public short SwitchValueNodeIdx { get; }Property Value
short
TrueValue
public StringToken TrueValue { get; }Property Value
TrueValueNodeIdx
public short TrueValueNodeIdx { get; }Property Value
short
Methods
GetValueInternal(GraphContext)
Evaluates the node value.
protected override StringToken GetValueInternal(GraphContext ctx)Parameters
ctx GraphContext
Returns
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

