ShadowMappingGui

Description

sealed class Tinman.AddOns.Components.ShadowMappingGui

Full source code is included in the Tinman 3D SDK download.

A GUI component that displays the properties of a Shadows object.

The following default Layout settings are defined for MeshDynamicGui objects:

Public / Constants

Label​Cascade​Far


[Localized]
public constant LabelCascadeFar → ("Cascade ### (far)":string)

Label for the far shadow cascade.

Label arguments (see Format):
#0 : one-based cascade index

Label​Cascade​Mid


[Localized]
public constant LabelCascadeMid → ("Cascade ### (mid)":string)

Label for the far mid cascade.

Label arguments (see Format):
#0 : one-based cascade index

Label​Cascade​Near


[Localized]
public constant LabelCascadeNear → ("Cascade ### (near)":string)

Label for the near shadow cascade.

Label arguments (see Format):
#0 : one-based cascade index

Label​Empty​Cascade


[Localized]
public constant LabelEmptyCascade → ("- empty -":string)

Label for 2D overlay of empty shadow cascades.

Label​Light​Bleed


[Localized]
public constant LabelLightBleed → ("Light bleed":string)

Label for choosing the light-bleeding correction factor.

Label​Optimize


[Localized]
public constant LabelOptimize → ("Optimize?":string)

Label for toggling geometric shadow frustum optimization.

Label​Overlap


[Localized]
public constant LabelOverlap → ("Overlap":string)

Label for choosing the shadow cascade overlap.

Label​Perspective


[Localized]
public constant LabelPerspective → ("Perspective?":string)

Label for toggling light-space perspective shadow maps.

Public / Constructors

Shadow​Mapping​Gui


public constructor ShadowMappingGui → ()

Creates a new instance of ShadowMappingGui.

Public / Attributes

Point


public attribute Point → (get,set)

value : Vec3D

The reference point or Vec3D.Undefined for none.

A reference point in terrain-space that will be marked in the shadow maps.

Defaults to Vec3D.Undefined.

Shadows


public attribute Shadows → (get,set)

value : ShadowMapping

The shadow mapping object or null.

The current shadow mapping object.