Class FloatMathNode
Namespace: ValveResourceFormat.Animation
Assembly: ValveResourceFormat.dll
public class FloatMathNode : FloatValueNodeInheritance
object ← GraphNode ← ValueNode ← FloatValueNode ← FloatMathNode
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
FloatMathNode(KVObject)
Reads the FloatMathNode from its KeyValues3 data.
public FloatMathNode(KVObject data)Parameters
data KVObject
Properties
InputValueNodeIdxA
public short InputValueNodeIdxA { get; }Property Value
short
InputValueNodeIdxB
public short InputValueNodeIdxB { get; }Property Value
short
Operator
public FloatMathNode.OperatorType Operator { get; }Property Value
ReturnAbsoluteResult
public bool ReturnAbsoluteResult { get; }Property Value
bool
ReturnNegatedResult
public bool ReturnNegatedResult { get; }Property Value
bool
ValueB
public float ValueB { 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

