[]
Builtin DisplacementMap effect.
public class DisplacementMap : Effect, IDisposable, IUnknown
Initializes a new instance of the DisplacementMap class.
public DisplacementMap(IntPtr nativePtr)
nativePtr
System.IntPtrThe native pointer.
Multiplies the intensity of the selected channel from the displacement image. The higher you set this property, the more the effect displaces the pixels
public float Scale { get; set; }
The effect extracts the intensity from this color channel and uses it to spatially displace the image in the X direction. See Color channels for more info.
public ChannelSelector XChannelSelect { get; set; }
The effect extracts the intensity from this color channel and uses it to spatially displace the image in the Y direction. See Color channels for more info.
public ChannelSelector YChannelSelect { get; set; }
Initializes a new instance of DisplacementMap effect.
public static DisplacementMap Create(DeviceContext context)
context
DeviceContext