DisplacementMap

class DisplacementMap(var input: FilterInput = FilterInput.Previous, var input2: FilterInput, var scale: Double = 0.0, var xChannel: FilterPrimitive.Channel = Channel.A, var yChannel: FilterPrimitive.Channel = Channel.A) : FilterPrimitive(source)

the pixels of input moved by the channels of input2, by scale

Constructors

Link copied to clipboard
constructor(input: FilterInput = FilterInput.Previous, input2: FilterInput, scale: Double = 0.0, xChannel: FilterPrimitive.Channel = Channel.A, yChannel: FilterPrimitive.Channel = Channel.A)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override val inputs: List<FilterInput>

the inputs, in the order of in and in2

Link copied to clipboard

the name of the result, null when only the next primitive uses it

Link copied to clipboard
Link copied to clipboard

the subregion that the result of the primitive is clipped to, null for the default subregion

Link copied to clipboard
Link copied to clipboard