LuciadCPillar C# 2026.1.02
Loading...
Searching...
No Matches
Luciad.Maps.Effects.EyeDomeLightingModel Class Referencesealed

Immutable set of parameters that describe the EyeDomeLightingEffect, a non-photorealistic lighting model which accentuates the shapes of objects by shading their outlines. More...

Inheritance diagram for Luciad.Maps.Effects.EyeDomeLightingModel:

Classes

class  Builder
 Builder for an EyeDomeLightingModel. More...

Public Member Functions

Luciad.Maps.Effects.EyeDomeLightingModel.Builder AsBuilder ()
 Creates a builder pre-filled with this model's parameters.
void Dispose ()
override bool Equals (object other)
 Returns whether this model is equal to another.
override int GetHashCode ()

Static Public Member Functions

static Luciad.Maps.Effects.EyeDomeLightingModel.Builder NewBuilder ()
 Creates a new builder with the default eye-dome lighting parameters.

Properties

System.Drawing.Color Color [get]
 The color of the shade.
double Strength [get]
 The shading multiplication factor.
uint Window [get]
 The number of surrounding pixels taken into account by the EDL model.

Detailed Description

Immutable set of parameters that describe the EyeDomeLightingEffect, a non-photorealistic lighting model which accentuates the shapes of objects by shading their outlines.

This eye-dome lighting (EDL) model uses 3 parameters:

  • the window parameter defines how many surrounding pixels must be taken into account.
  • the strength parameter is a factor to multiply with the shading that is applied to the image.
  • the color parameter defines what color the shade will have.

Create one with EyeDomeLightingModel.NewBuilder, or start from an existing model with AsBuilder, and apply it with EyeDomeLightingEffect.Model.

Since
2026.1

Member Function Documentation

◆ AsBuilder()

Luciad.Maps.Effects.EyeDomeLightingModel.Builder Luciad.Maps.Effects.EyeDomeLightingModel.AsBuilder ( )
inline

Creates a builder pre-filled with this model's parameters.

Returns
a builder pre-filled with this model's parameters.

◆ Dispose()

void Luciad.Maps.Effects.EyeDomeLightingModel.Dispose ( )
inline

◆ Equals()

override bool Luciad.Maps.Effects.EyeDomeLightingModel.Equals ( object other)
inline

Returns whether this model is equal to another.

Parameters
otherthe model to compare with.
Returns
whether this model is equal to another.

◆ GetHashCode()

override int Luciad.Maps.Effects.EyeDomeLightingModel.GetHashCode ( )
inline

◆ NewBuilder()

Luciad.Maps.Effects.EyeDomeLightingModel.Builder Luciad.Maps.Effects.EyeDomeLightingModel.NewBuilder ( )
inlinestatic

Creates a new builder with the default eye-dome lighting parameters.

Returns
a new builder.

Property Documentation

◆ Color

System.Drawing.Color Luciad.Maps.Effects.EyeDomeLightingModel.Color
get

The color of the shade.

[get]

Returns the color of the shade.

◆ Strength

double Luciad.Maps.Effects.EyeDomeLightingModel.Strength
get

The shading multiplication factor.

[get]

Returns the shading multiplication factor.

◆ Window

uint Luciad.Maps.Effects.EyeDomeLightingModel.Window
get

The number of surrounding pixels taken into account by the EDL model.

[get]

Returns the number of surrounding pixels taken into account by the EDL model.