Table of Contents

Class PointDiffuseEffect

Namespace
PaintDotNet.Direct2D1.Effects
Assembly
PaintDotNet.Windows.Core.dll

Use the point-diffuse lighting effect to create an image that appears to be a non-reflective surface with light scattered in all directions. This effect uses the alpha channel as a height map and lights the image with a point light source.

The color of the output bitmap is a result of light color, light position, and the surface geometry.

The alpha channel output for each pixel with diffuse lighting is always 1.0.

For more information, see Point-diffuse lighting effect

public sealed class PointDiffuseEffect : DeviceEffect<PointDiffuseEffect.Props>, ISerializable, IDeviceEffect, IDeviceImage, IDirect2DResource, IFactoryProperty, IDeviceEffectProperties, IObjectRef, IIsDisposed, IDisposable, IInternalImpl
Inheritance
PointDiffuseEffect
Implements
Inherited Members
Extension Methods

Constructors

PointDiffuseEffect(IDeviceEffectFactory)