Unproject

Description

Name

class Tinman.Pyramid.Unproject

Derived from

Pyramid

Converts the given projected rectangular pyramid into an unprojected cubemap pyramid, by resampling the pixel content.

Fields / Required

source

Type

Pyramid

Constraint

# != null

The source pyramid.

Fields / Optional

tile

Type

number

Constraint

# > 0

Default

256

The unprojected tile size, in pixels.


pad

Type

number

Constraint

# >= 0

Default

0

The unprojected tile pad, in pixels.


minify

Type

bool

Default

true

Allow unprojected tiles to be minified during resampling?


magnify

Type

bool

Default

true

Allow unprojected tiles to be magnified during resampling?


levels

Type

number

Constraint

# >= 0

Default

0

Number of unprojected pyramid levels. If 0, the maximum level count will be inferred from the given rectangular pyramid and the given tile size.

Fields / External

info

Holds detail information about this pixel pyramid.