Vixen
02b45cc4
csharp
public sealed class ProxyShapeSetImporter

Compiles a .vxproxyshapes, and checks it against the vocabulary it names.

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

As a importer

Extensions
.vxproxyshapes

Remarks

⚠ This is the payoff D13 claims for a declared vocabulary, and it only exists because the check runs here. A clip's constraint refers to a shape by name, and the clip is portable exactly as far as that name is present and means the same thing on every body it might play on. Without the check the failure is a clip that silently does nothing on one character, discovered by a player. With it, it is an error at import naming the set and the missing name.

The vocabulary is read through Files and declared as a file dependency, so adding a shape name re-checks every set in the project rather than the ones somebody remembered to touch.

Fields and properties (2)

  • public const string SetType

    The alias of the type this writes.

  • public override int Version

    Its own version. Bumping it invalidates every artefact it has ever produced, which is the whole mechanism for "I fixed the mip filter, re-import everything".

Methods (1)

Used by (2)

  • BuiltInImportersVixen.Editor.Assets
  • ProxyShapeImporterTestsVixen.Editor.Assets.Tests