Heightmap.MapShape

Description

Name

struct Tinman.Heightmap.MapShape

Used by

Heightmap.MapShapes.shapes

A vector shape for generating heightmap data.

Fields / Required

shape

Type

Shape

The vector shape to render.


samples

Type

Sample[]

Constraint

# != null

The heightmap sample data to use for each vertex of the input shape (if array length is greater than one); otherwise, the uniform heightmap sample data to use for the whole shape.


falloff

Type

number

Constraint

# >= 0

Shape distance falloff value.

Fields / Optional

layer

Type

number

Default

0

The layer of the shape. Map shapes with higher layer values are rendered on top.