Vixen
02b45cc4
csharp
public record class HeightmapImportSettings

How a raw heightmap is read.

Read the guide page for this →

Remarks

⚠ Not empty, unlike the other importers here, because a raw file carries no header. A .r16 is width × height × two bytes and nothing else — there is no dimension, no endianness and no scale in the file, so every one of them has to be a setting. That is what makes it a raw format and it is why World Machine asks the same three questions on export.

Fields and properties (4)

  • public int Version

    The importer's own version. Bumping it invalidates every artefact that importer produced.

  • public int Width

    How many samples the file is, on a side.

  • public int Height

    And on the other side.

  • public bool BigEndian

    Whether the samples are big-endian.

Used by (3)

  • HeightmapImporterVixen.Editor.Assets
  • TerrainAssetImporterTestsVixen.Editor.Assets.Tests
  • TypeRegistrationVixen.Editor.Assets