Vixen
02b45cc4
csharp
public sealed class TextureImportEdits

The editable mirror of TextureImportSettings.

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

Remarks

Member for member, and ImportSettingsMirrorTests is what keeps it that way. The documentation is deliberately not copied across: what each setting means lives on the record, and two prose descriptions of one knob is how they come to disagree. What is here is the one-line tooltip a row shows.

Fields and properties (8)

  • public TextureContent Content

    What the bytes mean.

  • public TextureCompression Compression

    Which compressed format to ship in.

  • public bool GenerateMips

    Whether to build a mip chain.

  • public bool AlphaIsTransparency

    Whether the alpha channel is transparency rather than packed data.

  • public int MaxSize

    The largest the texture may ship at, or zero for no limit.

  • public SpriteMode SpriteMode

    Whether this texture produces sprites, and one or many.

  • public float PixelsPerUnit

    How many texels make one world unit.

  • public SpriteRect[] Sprites

    Where each sprite is, in texels of the source image.

Used by (14)

  • Describes_Vixen_Editor_AssetEditors_Importing_TextureImportEditsVixen.Editor.AssetEditors
  • ImportSettingsDocumentTestsVixen.Editor.AssetEditors.Tests
  • ImportSettingsMirrorTestsVixen.Editor.AssetEditors.Tests
  • ImportViewTestsVixen.Editor.AssetEditors.Tests
  • SpriteDocumentTestsVixen.Editor.AssetEditors.Tests
  • SpriteEditCommandVixen.Editor.AssetEditors
  • SpriteSheetViewVixen.Editor.AssetEditors
  • SpriteViewTestsVixen.Editor.AssetEditors.Tests
  • TextureImportDocumentVixen.Editor.AssetEditors
  • TextureImportViewVixen.Editor.AssetEditors
  • TextureLadderVixen.Editor.AssetEditors
  • TextureLadderTestsVixen.Editor.AssetEditors.Tests
  • TypeRegistrationVixen.Editor.AssetEditors
  • Vixen_Editor_AssetEditors_Importing_TextureImportEditsSerializerVixen.Editor.AssetEditors