TINMAN 3D / REALTIME TERRAIN
Software Development Kit - User Manual

class Tinman.Pyramid.Wrap

Short Name:
  • class Wrap
Derived From:
Fields:

Wraps the given heightmap in a pixel pyramid.

Fields

The following table lists all fields of this config type.

Field Type Constraint Default
required source Heightmap
# != null
 

The source heightmap.

required layer Pixel    

The pixel layer to use for creating pyramid tiles from heightmap data.

optional tile number
# > 0
256

The tile size, in pixels. Will be round up to the next power of two.

optional pad number
# >= 0
0

The tile pad of the pyramid.

optional levels number
# >= 0
0

Defines how many pyramid levels (starting at the bottom-most level) shall contain data. The heightmap sample step is 1 for the bottommost level and is multiplied by two for each parent level. If 0, all pyramid levels will contain data.

optional flags Pyramid.Flags[]  
[]

The pyramid flags.

external info Pyramid.Info    

Holds detail information about this pixel pyramid.