Class FloatSwitchNode
Namespace: ValveResourceFormat.Animation
Assembly: ValveResourceFormat.dll
public class FloatSwitchNode : FloatValueNodeInheritance
object ← GraphNode ← ValueNode ← FloatValueNode ← FloatSwitchNode
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
FloatSwitchNode(KVObject)
Reads the FloatSwitchNode from its KeyValues3 data.
public FloatSwitchNode(KVObject data)Parameters
data KVObject
Properties
FalseValue
public float FalseValue { get; }Property Value
float
FalseValueNodeIdx
public short FalseValueNodeIdx { get; }Property Value
short
SwitchValueNodeIdx
public short SwitchValueNodeIdx { get; }Property Value
short
TrueValue
public float TrueValue { get; }Property Value
float
TrueValueNodeIdx
public short TrueValueNodeIdx { get; }Property Value
short
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

