Table of Contents

Class PointLightEffect

Namespace
HeBianGu.General.WpfControlLib
Assembly
HeBianGu.General.WpfControlLib.dll

An effect that colorizes a texture and adds two light points.

public class PointLightEffect : ShaderEffect, IAnimatable
Inheritance
PointLightEffect
Implements
Inherited Members
Extension Methods

Constructors

PointLightEffect()

Initializes a new instance of the PointLightEffect class.

public PointLightEffect()

Fields

FillColorProperty

Identifies the FillColor dependency property.

public static readonly DependencyProperty FillColorProperty

Field Value

DependencyProperty

InputProperty

Identifies the Input dependency property.

public static readonly DependencyProperty InputProperty

Field Value

DependencyProperty

Light1ColorProperty

Identifies the Light1Color dependency property.

public static readonly DependencyProperty Light1ColorProperty

Field Value

DependencyProperty

Light1PositionProperty

Identifies the Light1Position dependency property.

public static readonly DependencyProperty Light1PositionProperty

Field Value

DependencyProperty

Light2ColorProperty

Identifies the Light2Color dependency property.

public static readonly DependencyProperty Light2ColorProperty

Field Value

DependencyProperty

Light2PositionProperty

Identifies the Light2Position dependency property.

public static readonly DependencyProperty Light2PositionProperty

Field Value

DependencyProperty

Properties

FillColor

Gets or sets the fill color.

public Color FillColor { get; set; }

Property Value

Color

The fill color.

Input

Gets or sets the input texture.

public Brush Input { get; set; }

Property Value

Brush

The input texture.

Light1Color

Gets or sets the color of the first light.

public Color Light1Color { get; set; }

Property Value

Color

The color of the first light.

Light1Position

Gets or sets the first light's position.

public Point Light1Position { get; set; }

Property Value

Point

The first light's position.

Light2Color

Gets or sets the color of the second light.

public Color Light2Color { get; set; }

Property Value

Color

The color of the second light.

Light2Position

Gets or sets the second light's position.

public Point Light2Position { get; set; }

Property Value

Point

The second light's position.