PriorityLadderImporter
csharp
public sealed class PriorityLadderImporterCompiles a .vxpriorities.
No guide page documents this yet — the page shows what the code says about itself.
As a importer
- Extensions
- .vxpriorities
Remarks
The names a project's authors pick priorities from. What the importer adds over reading the file is the two things that make a ladder a ladder rather than a list: no two rungs may share a name, and no two may share a value — because a rung that resolves to the same integer as another is a rung whose position in the order is decided by whichever clip loaded first.
Fields and properties (2)
public const string LadderTypeThe alias of the type this writes.
public override int VersionIts 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)
protected override ValueTask<ImportResult> ImportAsync(ImportContext context, PriorityLadderImportSettings settings, CancellationToken cancellationToken)Imports one asset.
Used by (2)
- BuiltInImportersVixen.Editor.Assets
- ConstraintAuthoringImporterTestsVixen.Editor.Assets.Tests