Class ClipSelectorNode
Namespace: ValveResourceFormat.Animation
Assembly: ValveResourceFormat.dll
public class ClipSelectorNode : ClipReferenceNodeInheritance
object ← GraphNode ← PoseNode ← ClipReferenceNode ← ClipSelectorNode
Inherited Members
ClipReferenceNode.GetClip(GraphContext), ClipReferenceNode.IsLooping, ClipReferenceNode.DisableRootMotionSampling(), ClipReferenceNode.SelectedOption, ClipReferenceNode.UpdateSelection(GraphContext), ClipReferenceNode.InitializeSelection(GraphContext, SyncTrackTime), ClipReferenceNode.ShutdownSelection(GraphContext), ClipReferenceNode.Update(GraphContext, SyncTrackTimeRange?), 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
ClipSelectorNode(KVObject)
Reads the ClipSelectorNode from its KeyValues3 data.
public ClipSelectorNode(KVObject data)Parameters
data KVObject
Fields
ConditionNodes
public BoolValueNode[] ConditionNodesField Value
OptionNodes
public ClipReferenceNode[] OptionNodesField Value
Properties
ConditionNodeIndices
public short[] ConditionNodeIndices { get; }Property Value
short[]
OptionNodeIndices
public short[] OptionNodeIndices { get; }Property Value
short[]
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
PickOption(GraphContext)
public int PickOption(GraphContext ctx)Parameters
ctx GraphContext
Returns
int
ShutdownInternal(GraphContext)
Clears the node state when it becomes inactive.
protected override void ShutdownInternal(GraphContext ctx)Parameters
ctx GraphContext
UpdateSelection(GraphContext)
public override void UpdateSelection(GraphContext ctx)Parameters
ctx GraphContext

