Class ChainLookatNode
Namespace: ValveResourceFormat.Animation
Assembly: ValveResourceFormat.dll
public class ChainLookatNode : PassthroughNodeInheritance
object ← GraphNode ← PoseNode ← PassthroughNode ← ChainLookatNode
Inherited Members
PassthroughNode.ChildNodeIdx, PassthroughNode.ChildNode, PassthroughNode.Instantiate(GraphContext), PassthroughNode.IsValid, PassthroughNode.SyncTrack, PassthroughNode.InitializeInternal(GraphContext, SyncTrackTime), PassthroughNode.ShutdownInternal(GraphContext), PassthroughNode.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
ChainLookatNode(KVObject)
Reads the ChainLookatNode from its KeyValues3 data.
public ChainLookatNode(KVObject data)Parameters
data KVObject
Properties
BlendTimeSeconds
public float BlendTimeSeconds { get; }Property Value
float
ChainLength
public byte ChainLength { get; }Property Value
byte
ChainWeights
public float[] ChainWeights { get; }Property Value
float[]
EnabledNodeIdx
public short EnabledNodeIdx { get; }Property Value
short
EndEffectorBoneID
public StringToken EndEffectorBoneID { get; }Property Value
EndEffectorForwardAxis
public Vector3 EndEffectorForwardAxis { get; }Property Value
EndEffectorOffset
public Vector3 EndEffectorOffset { get; }Property Value
IsTargetInWorldSpace
public bool IsTargetInWorldSpace { get; }Property Value
bool
LookatTargetNodeIdx
public short LookatTargetNodeIdx { 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
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?

