Vixen
02b45cc4
csharp
public sealed class AnimationStateData

One state, as the document holds it.

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

Remarks

⚠ The position is in the asset and that is deliberate. Doc 11's argument for the node graphs applies unchanged: an arrangement somebody spent an afternoon on is authored data, and an editor that re-laid the graph out on every open would throw it away every time.

Fields and properties (7)

  • public string Name

    Its name, unique within its layer, and what a transition names.

  • public AnimationMotionData Motion

    What it plays.

  • public float Speed

    How fast the state runs, on top of the motion's own speed.

  • public WrapMode Wrap

    What happens when its motion runs past the end.

  • public float X

    Where its box sits in the editor.

  • public float Y

    And how far down.

  • public List<AnimationTransitionData> Transitions

    What leaves it.

Used by (8)

  • AnimationGraphCompilerVixen.Editor.AnimationGraph
  • AnimationGraphDocumentVixen.Editor.AssetEditors
  • AnimationGraphTestsVixen.Editor.AnimationGraph.Tests
  • AnimationGraphViewVixen.Editor.AssetEditors
  • AnimationLayerDataVixen.Editor.AnimationGraph
  • AuthoringTestsVixen.Editor.AssetEditors.Tests
  • StateMapViewVixen.Editor.AssetEditors
  • TypeRegistrationVixen.Editor.AnimationGraph