Vixen
feb85697
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 (4)

  • HeightmapImporterVixen.Editor.Terrain
  • TerrainAssetImporterTestsVixen.Editor.Terrain.Tests
  • TypeRegistrationVixen.Editor.Terrain
  • Vixen_Editor_Terrain_HeightmapImportSettingsSerializerVixen.Editor.Terrain