Vixen
02b45cc4
csharp
public sealed class ProxyShapeDocument

A body's proxy shapes, open for editing.

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

Remarks

⚠ Its own document rather than a tab of the model editor, and doc 34 says the opposite. A .vxproxyshapes is its own asset with its own GUID, its own importer and its own place in the reference graph; a model editor that edited it would be one document owning another asset's undo stack and dirty flag, and closing the model would have to decide what happens to unsaved shapes. The plan's point — that this is not a separate tool — is kept by the panel needing a rig to be useful at all, and by everything it draws going through the same gizmos a viewport already has.

⚠ The rig is supplied, not loaded. Posing a shape needs the skeleton it hangs off, and this document cannot reach a model asset. Without one the shapes are still editable — names, kinds, sizes, tags — and the three checks that need a pose simply say they need a rig, which is honest and is what a test gets.

Fields and properties (7)

  • public const string Extension

    What an authored shape set is written as.

  • public string AssetPath

    Where the file is, absolute.

  • public ProxyShapeSetContent Set

    The set.

  • public string? LoadError

    Why the file would not read, or .

  • public Skeleton? Rig

    The rig the shapes hang off, or if the host has none.

  • public ShapeVocabulary? Vocabulary

    The vocabulary the set names, or if the host has none.

  • public IReadOnlyList<AnimationClip> Motion

    Clips to play while looking for shapes that never move, or empty.

Events (1)

Methods (11)

Used by (6)

  • AnimationBinderVixen.Editor.AssetEditors
  • AnimationWiringTestsVixen.Editor.App.Tests
  • ProxyShapeEditorFactoryVixen.Editor.AssetEditors
  • ProxyShapeEditorTestsVixen.Editor.AssetEditors.Tests
  • ProxyShapeGizmoTargetVixen.Editor.AssetEditors
  • ProxyShapeViewVixen.Editor.AssetEditors