Interface IAnimationGraph ​
Namespace: ValveResourceFormat.ResourceTypes.ModelAnimation2
Assembly: ValveResourceFormat.dll
A pose source evaluated every update in place of clips, such as an AnimationGraph.
public interface IAnimationGraphProperties ​
Algorithm ​
Gets the kind of graph.
AnimationAlgorithm Algorithm { get; }Property Value ​
RootMotionDelta ​
Gets the root motion of the last update, in the character's local space: the new world transform is this delta concatenated onto the previous one.
FrameBone RootMotionDelta { get; }Property Value ​
Skeleton ​
Gets the skeleton the poses are for.
Skeleton Skeleton { get; }Property Value ​
SkeletonName ​
Gets the resource name of the skeleton the poses are for, which the graph plays on through the controller's external skeleton player, or an empty string for the model's own skeleton.
string SkeletonName { get; }Property Value ​
string
Methods ​
Update(float, FrameBone) ​
Advances the graph by timeStep seconds and returns the resulting parent space pose, owned by the graph and valid until the next update.
FrameBone[] Update(float timeStep, FrameBone worldTransform)Parameters ​
timeStep float
The time to advance, in seconds.
worldTransform FrameBone
Where the root motion has moved the character so far.

