Vixen
02b45cc4
csharp
public enum SpriteMode

Whether a texture produces sprites, and how many.

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

Remarks

⚠ Three states rather than a bool, because "one sprite" and "many" differ in what they produce and not only in how many. A single sprite is the texture itself with a pivot and a border; a sliced sheet is a sub-asset per cell, each of which something in a scene can reference by name. The distinction is the one Unity draws and it is the one that decides whether a re-slice can break an existing reference.

Fields and properties (3)

  • None

    Not a sprite. The texture ships and nothing else is produced.

  • Single

    One sprite covering the whole texture.

  • Multiple

    Many sprites, each a sub-asset.

Used by (10)

  • Describes_Vixen_Editor_AssetEditors_Importing_TextureImportEditsVixen.Editor.AssetEditors
  • SpriteDocumentTestsVixen.Editor.AssetEditors.Tests
  • SpriteSheetViewVixen.Editor.AssetEditors
  • SpriteViewTestsVixen.Editor.AssetEditors.Tests
  • TextureImportEditsVixen.Editor.AssetEditors
  • TextureImportSettingsVixen.Editor.Assets
  • TextureImporterVixen.Editor.Assets
  • TextureImporterTestsVixen.Editor.Assets.Tests
  • TypeRegistrationVixen.Editor.Assets
  • Vixen_Editor_AssetEditors_Importing_TextureImportEditsSerializerVixen.Editor.AssetEditors