Vixen
dd8b0a81
csharp
public record class MaterialMapImage

One file a bake produced, before anything has decided where it goes.

Read the guide page for this →

Remarks

⚠ It carries no file name, deliberately. An encoded mesh map used to carry one, minted before anything knew the folder it landed in or whether the name was another model's, and both of that batch's write defects — #680 and #681 — were reachable through it. Naming is ProjectMaterialBaker's, derived from FileName and the target each image declares.

Fields and properties (6)

  • public required MaterialMapTarget Target

    Which of the seven files this is.

  • public required byte[] Bytes

    The encoded file.

  • public required string Extension

    Its extension, which its size chose.

  • public required TextureImportSettings Settings

    What the sidecar should say about it.

  • public required int Width

    Its width in texels.

  • public required int Height

    Its height in texels.

Used by (8)

  • BakedVixen.Graphics.Golden.Tests
  • BakedMaterialImageTestsVixen.Graphics.Golden.Tests
  • MaterialBakeVixen.Editor.Assets
  • MaterialBakeAssetTestsVixen.Editor.Assets.Tests
  • MaterialBakeTestsVixen.Editor.Assets.Tests
  • MaterialProvenanceVixen.Editor.Assets
  • MaterialSplatTestsVixen.Editor.Assets.Tests
  • ProjectMaterialBakerVixen.Editor.Assets