Class AnimationGraph1Additive
Namespace: ValveResourceFormat.IO
Assembly: ValveResourceFormat.dll
The walker for the compiled graph layout: nodes sit in one flat array, children reference each other by array index (m_nodeIndex collections) and sequences by integer m_hSequence handles into the model's sequence table (local ASEQ names followed by referenced animations).
public static class AnimationGraph1AdditiveInheritance
object ← AnimationGraph1Additive
Remarks
Both graph layouts are understood: the uncompiled CAnimationGraph layout (root-level m_nodes id/value pairs, *AnimNode classes, string m_sequenceName), which is what Half-Life Alyx and SteamVR Home ship inside their .vanmgrph_c, and the modern compiled layout (m_pSharedData.m_nodes array, *UpdateNode classes, integer m_hSequence handles resolved against the model's sequence table), which is what Deadlock ships.
Methods
GetAdditiveSequences(Model, IFileLoader)
Returns the set of sequence names the model's animation graph applies additively, or an empty set when the model has no AG1 graph.
public static HashSet<string> GetAdditiveSequences(Model model, IFileLoader fileLoader)Parameters
model Model
fileLoader IFileLoader

