C# id:       ApiNodeType.ImportTerrain
Python id: ApiNodeType.IMPORT_TERRAIN

Parameters

Name Type Description Values

file_name

String

The path of the file to import

 

quad_size

Float

The quad size in meters

From 0.01 to 100

flip_y_axis

Bool

Specifies whether the y axis has to be flipped when reading the file

True or False

scale

Float

The difference between the maximum elevation and the minimum elevation of the terrain

From 1 to 110,000

offset

Float

The minimum elevation of the terrain

From -10,000 to 100,000

raw

Bool

Specifies whether the file has to be imported as a raw file

True or False

raw_width

Int

When raw equals True, the width of the terrain in number of vertices

From 16 to 524,288

raw_height

Int

When raw equals True, the height of the terrain in number of vertices

From 16 to 524,288

raw_bit_count

Int

When raw equals True, the number of bits for each value

8, 16 or 32

raw_skipped_byte_count

Int

When raw equals True, the number of bytes to skip at the beginning of the file

From 0 to 4,000,000,000

See Nodes reference guide - Import terrains node


Copyright © 2022 · All Rights Reserved · Wysilab