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

class Tinman.Pyramid.Combine

Short Name:
  • class Pyramid.Combine
Derived From:
Fields:

Combines the first pixel pyramid with the second one.

Fields

The following table lists all fields of this config type.

Field Type Constraint Default
required first Tinman.Pyramid
# != null
 

The first pixel pyramid.

required second Tinman.Pyramid
# != null
 

The second pixel pyramid.

optional op ColorOp  
Blend

The color operation to use for combining the pyramid tile pixels.

optional union bool  
false

Computes the union of the first and second pyramid (true); the following table shows the combinations for this function (header row := first, header column := second):

      | Error | Void  | Ok    | Empty |
------+-------+-------+-------+-------+
Error | Error | Error | Error | Error |
------+-------+-------+-------+-------+
Void  | Error | Void  | Ok    | Empty |
------+-------+-------+-------+-------+
Ok    | Error | Ok    | Ok    | Ok    |
------+-------+-------+-------+-------+
Empty | Error | Empty | Ok    | Empty |
------+-------+-------+-------+-------+

Computes the intersection of the first and second pyramid (false); the following table shows the combinations for this function (header row := first, header column := second):

      | Error | Void  | Ok    | Empty |
------+-------+-------+-------+-------+
Error | Error | Error | Error | Error |
------+-------+-------+-------+-------+
Void  | Void  | Void  | Void  | Void  |
------+-------+-------+-------+-------+
Ok    | Error | Void  | Ok    | Ok    |
------+-------+-------+-------+-------+
Empty | Error | Void  | Ok    | Empty |
------+-------+-------+-------+-------+
external info Pyramid.Info    

Holds detail information about this pixel pyramid.