Vixen
02b45cc4
csharp
public record class SubAssetRename

What the author wants one of an asset's parts called.

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

Remarks

⚠ A list of pairs rather than a map, and the reason is that somebody has to be able to edit it. The inspector has a drawer for a list and none for a dictionary — deliberately, because a dictionary is two columns rather than a column of values — so a map would be a setting only a text editor could change, which is the state this exists to get out of. It also diffs and merges the way the rest of a .meta does.

⚠ Keyed by what the source file calls a thing. A .glb with two meshes called Cube imports them as Cube and Cube_1; keying by the second of those would mean a re-export that added a third shuffled which rename landed where. The cost is that two parts the file cannot tell apart cannot be renamed apart either, which is the honest answer rather than a limitation.

Fields and properties (2)

  • public string Source

    What the source file calls it.

  • public string Name

    What it should be addressed as instead.

Used by (8)

  • IImportSettingsVixen.Core.Yaml
  • TypeRegistrationVixen.Core.Yaml
  • Describes_Vixen_Editor_AssetEditors_Importing_ModelImportEditsVixen.Editor.AssetEditors
  • ImportContextVixen.Editor.Assets
  • ImporterTestsVixen.Editor.Assets.Tests
  • ModelImportEditsVixen.Editor.AssetEditors
  • ModelImportSettingsVixen.Editor.Assets
  • Vixen_Editor_AssetEditors_Importing_ModelImportEditsSerializerVixen.Editor.AssetEditors