Heightmap.Swizzle

Description

Name

class Tinman.Heightmap.Swizzle

Derived from

Heightmap

Swizzles materials.

When the coverage layer is involved in the substitution, material weights are mapped to inverse coverage values.

Fields / Required

heightmap

Type

Heightmap

Constraint

# != null

The heightmap to swizzle.


first

Type

number

The heightmap to wrap.


second

Type

number

The heightmap layers to retain.


mode

Type

bool

true to establish a bi-directional mapping between first and second (which effectively swaps the materials),
false to establish a uni-directional mapping from first to second (which effectively merges the first material into the second).

Fields / External

id

Type

Dataset.Id

Returns a unique identifier for this dataset.


metadata

Returns dataset metadata information.


georef

Returns geo-referencing information.


info

Holds detail information about this heightmap.