Class Blend2DNode
Namespace: ValveResourceFormat.Animation
Assembly: ValveResourceFormat.dll
public class Blend2DNode : PoseNodeInheritance
object ← GraphNode ← PoseNode ← Blend2DNode
Inherited Members
PoseNode.UpdateSourceOrDefault(GraphContext, PoseNode, SyncTrackTimeRange?), PoseNode.LoopCount, PoseNode.Duration, PoseNode.CurrentTime, PoseNode.PreviousTime, PoseNode.PoseTransforms, PoseNode.Instantiate(GraphContext), PoseNode.Initialize(GraphContext, SyncTrackTime), PoseNode.Initialize(GraphContext), PoseNode.InitializeInternal(GraphContext), PoseNode.InitializeInternal(GraphContext, SyncTrackTime), PoseNode.IsValid, PoseNode.SyncTrack, PoseNode.Update(GraphContext, SyncTrackTimeRange?), 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
Blend2DNode(KVObject)
Reads the Blend2DNode from its KeyValues3 data.
public Blend2DNode(KVObject data)Parameters
data KVObject
Fields
InputParameterNode0
public FloatValueNode InputParameterNode0Field Value
InputParameterNode1
public FloatValueNode InputParameterNode1Field Value
SourceNodes
public PoseNode[] SourceNodesField Value
PoseNode[]
Properties
AllowLooping
public bool AllowLooping { get; }Property Value
bool
HullIndices
public uint[] HullIndices { get; }Property Value
uint[]
Indices
public uint[] Indices { get; }Property Value
uint[]
InputParameterNodeIdx0
public short InputParameterNodeIdx0 { get; }Property Value
short
InputParameterNodeIdx1
public short InputParameterNodeIdx1 { get; }Property Value
short
IsValid
Whether the node can produce a pose.
public override bool IsValid { get; }Property Value
bool
SourceNodeIndices
public short[] SourceNodeIndices { get; }Property Value
short[]
SyncTrack
The sync track for this node's timeline; pass-through nodes forward their child's.
public override SyncTrack SyncTrack { get; }Property Value
Values
public Vector2[] Values { get; }Property Value
Vector2[]
Methods
InitializeInternal(GraphContext, SyncTrackTime)
Resets the node state when it becomes active, starting at the given time.
protected override void InitializeInternal(GraphContext ctx, SyncTrackTime initialTime)Parameters
ctx GraphContext
initialTime SyncTrackTime
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
Update(GraphContext, SyncTrackTimeRange?)
Advances the node and returns its pose, optionally over a sync track range.
public override GraphPoseNodeResult Update(GraphContext ctx, SyncTrackTimeRange? updateRange = null)Parameters
ctx GraphContext
updateRange SyncTrackTimeRange?

