EnvironmentMapSky

Description

sealed class Tinman.Engine.Components.EnvironmentMapSky

Derived from

EnvironmentMap abstract

An implementation of the IEnvironmentMap interface that generates a simple sky from a couple of color keys.

Public / Constructors

Environment​Map​Sky


public constructor EnvironmentMapSky → (1)

lightLatitude opt : float64 = 45

Initial value for ILightProvider.LightAltitude.

Creates a new instance of EnvironmentMapSky.

Public / Attributes

Ground​Color​Dark


public attribute GroundColorDark → (get,set)

value : int64

The overall ground color.

Overall ground color (dark).

Set to 0 to disable the ground hemisphere.

See also

Colors

Ground​Color​Light


public attribute GroundColorLight → (get,set)

value : int64

The overall ground color.

Overall ground color (light).

Set to 0 to disable the ground hemisphere.

See also

Colors

Sky​Color​Dark


public attribute SkyColorDark → (get,set)

value : int64

The overall sky color.

Overall sky color (dark).

Set to 0 to disable the sky hemisphere.

See also

Colors

Sky​Color​Haze


public attribute SkyColorHaze → (get,set)

value : int64

The sky haze color.

Hazy sky color at the horizon.

Set to 0 to disable the horizon haze.

See also

Colors

Sky​Color​Light


public attribute SkyColorLight → (get,set)

value : int64

The overall sky color.

Overall sky color (light).

Set to 0 to disable the sky hemisphere.

See also

Colors

Sun​Color


public attribute SunColor → (get,set)

value : int64

The sun color.

Apparent color of the sun.

Sun​Corona


public attribute SunCorona → (get,set)

value : float64

[>=1]
The corona size, relative to the sun size.

Relative size of the sun corona.

Sun​Intensity


public attribute SunIntensity → (get,set)

value : float64

[>0]
The intensity factor.

The light intensity of the sun disk, relative to the average blue sky part.

Defaults to 1.