Class Transform3DEffect.Props
- Namespace
- PaintDotNet.Direct2D1.Effects
- Assembly
- PaintDotNet.Windows.Core.dll
public sealed class Transform3DEffect.Props : DeviceEffectProperties
- Inheritance
-
Transform3DEffect.Props
- Inherited Members
Constructors
Properties
- BorderMode
The mode used to calculate the border of the image, soft or hard.
When set to BorderMode.Soft, the effect pads the image with transparent black pixels as it interpolates, resulting in a soft edge.
When set to BorderMode.Hard, the effect clamps the output to the size of the input image.
The default value is BorderMode.Soft.
- ClassID
Implemented by the derived class to specify the effect's class ID (CLSID) when registering and creating the effect and for binding to an IDeviceEffectProperties.
Note that this is different than the ID property accessor, which queries the IDeviceEffectProperties for the actual runtime effect class ID.
Overriding this property is only necessary in advanced scenarios, such as when wrapping an existing effect (e.g. built-in Direct2D effects), or when working with CustomEffects that have their own generic type arguments (e.g. PixelShaderEffect).
- InterpolationMode
The interpolation mode the effect uses on the image. There are 5 scale modes that range in quality and speed.
The default value is Transform3DInterpolationMode.Linear.
- TransformMatrix
A 4x4 transform matrix applied to the projection plane. The individual matrix elements are not bounded and are unitless.
The default value is { 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1 } (identity matrix).