Vixen
02b45cc4
csharp
public sealed class ProxyShapeSetContent

A proxy shape set, as an artefact holds it.

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

Remarks

⚠ There is no separate authored type, unlike AnimationClipContent, and the difference is real rather than an inconsistency. A clip is authored as curves and shipped as samples, so the two forms hold different things and a compile step turns one into the other. A shape set is authored as exactly what it ships as: names, primitives and numbers. The only work the pipeline does is checking it — against the vocabulary, and for the mistakes a text file invites — and inventing a second identical type to have somewhere to do that would be ceremony.

The Extensions block round-trips markup this build does not understand, the same as a clip's.

Fields and properties (9)

  • public const int Current

    The version this build writes.

  • public const string Extension

    The file extension.

  • public int Version

    Which version of the format wrote it.

  • public string Name

    What the set is called.

  • public string Vocabulary

    The .vxshapevocab it implements, by path, or empty for none.

  • public string Rig

    The model whose skeleton it was authored against, by path, or empty for none.

  • public string Class

    Which of that vocabulary's classes it claims to be a member of, or empty.

  • public ProxyShapeRecord[] Shapes

    The shapes.

  • public Dictionary<string, string> Extensions

    Markup this build did not interpret, kept so a round trip does not drop it.

Methods (1)

  • public ProxyShapeSet Bake(Skeleton skeleton, ICollection<string>? unresolved = null)

    Resolves the set against a skeleton.

Used by (11)

  • LoadPathTestsVixen.Animation.Tests
  • ProxyShapeCacheVixen.Animation
  • TypeRegistrationVixen.Animation
  • Vixen_Animation_Constraints_ProxyShapeSetContentSerializerVixen.Animation
  • AnimationBinderVixen.Editor.AssetEditors
  • AnimationWiringTestsVixen.Editor.App.Tests
  • ProxyShapeDocumentVixen.Editor.AssetEditors
  • ProxyShapeEditorTestsVixen.Editor.AssetEditors.Tests
  • ProxyShapeImporterTestsVixen.Editor.Assets.Tests
  • ProxyShapeSetImporterVixen.Editor.Assets
  • ProxyShapeViewVixen.Editor.AssetEditors