Image.Procedural

Description

Name

abstract class Tinman.Image.Procedural

Derived from

Image

Extended by

Procedural.Color / Procedural.Scalar / Procedural.Vector

Creates an image that is generated by a procedural function.

Fields / Required

width

Type

number

Constraint

# > 0

The image width, in pixels.


height

Type

number

Constraint

# > 0

The image height, in pixels.

Fields / Optional

transform

Type

Mat3

Default

null

The transformation matrix to use for obtaining input coordinates for the noise function. If null or all-zero, the following transformation will be used: C' = (C + 0.5) / S, where C is the input pixel X/Y coordinate, S is the image width/height and C' is the output coordinate for the noise function.


format

Type

PixelFormat[]

Default

[Truecolor, Alpha, SixteenBits]

The pixel format.


layer

Type

Heightmap.Layer

Default

Heightmap.Layer.None

The heightmap layer.

Fields / External

info

Type

Image.Info

Contains information about the image data source, including image format and embedded geo-referencing information.