OptionaldepthThe depth of the terrain in world units. Defaults to 100.
The image to use as a heightmap source.
OptionalmaxThe maximum height of the terrain. Defaults to 20.
OptionalmeshThe number of segments along the depth for the mesh. Defaults to 64.
OptionalmeshThe number of segments along the width for the mesh. Defaults to 64.
OptionalstrategyThe strategy to extract height from image pixels. Defaults to CENTERED_AVERAGE.
OptionalwidthThe width of the terrain in world units. Defaults to 100.
Configuration for terrain initialized from an image.