Vixen
02b45cc4
csharp
public sealed class AnimationGraphAsset

A whole .vxanimgraph document.

No guide page documents this yet — the page shows what the code says about itself.

Remarks

The third graph doc 11 names, and it is not a dataflow graph. A shader graph's edge carries a value and a VFX graph's carries order; a state machine's carries "may become" — several leave one state and several arrive at another, none of them has a type, and there is no topological order because a graph without a cycle is a character that can never return to idle. Every rule Vixen.Editor.NodeGraph is built around would have to be switched off to hold one, so this is its own model. What it shares with the other two graphs is the shape of the editor around it, which is where the sharing belongs.

⚠ Everything cross-references by name and clips by GUID. A transition names its destination and a condition names its parameter, because both are things a person types and both survive a reorder; a clip is a GUID for doc 08's reason, so moving the file needs nothing done to this one and ReferenceIndex counts it.

Fields and properties (6)

  • public const int Current

    The version this reader and writer speak.

  • public const string Extension

    What an animation graph is written as.

  • public int Version

    Which version of the format this file is.

  • public string Name

    What the graph is called.

  • public List<AnimationParameterData> Parameters

    The parameters its transitions test.

  • public List<AnimationLayerData> Layers

    The layers, base first.

Used by (5)

  • AnimationGraphCompilerVixen.Editor.AnimationGraph
  • AnimationGraphDocumentVixen.Editor.AssetEditors
  • AnimationGraphTestsVixen.Editor.AnimationGraph.Tests
  • AnimationGraphViewVixen.Editor.AssetEditors
  • TypeRegistrationVixen.Editor.AnimationGraph