IPixelLayerOps

Description

interface Tinman.Terrain.Heightmaps.Painting.IPixelLayerOps

Extended by

IPixelLayer

Defines instance operations for IPixelLayer objects.

Public / Methods

Light​Ambient


public method LightAmbient → (1)

lightColor in : int64

The ambient light color (the alpha channel is ignored).

returns → IPixelLayer

The resulting pixel layer.

Applies a lambertian lighting term to the output pixels.

See also

Colors

Light​Directional


public method LightDirectional → (2)

lightDirection in : Vec3F

The light direction vector.

lightColor in : int64

The directional light color (the alpha channel is ignored).

returns → IPixelLayer

The resulting pixel layer.

Applies a lambertian lighting term to the output pixels.

The Vec3F.X and Vec3F.Y refer to pixel coordinates, Vec3F.Z is pointing downwards.

See also

Colors