Skip to content
InterfaceRendering & Filters@public

FlxDisplacementFilterOptions

Options for link.

ts
export interface FlxDisplacementFilterOptions

Properties

PropertyModifiersTypeDescription
offsetreadonlyFlxDisplacementPointNormalized map-texture offset. Defaults to { x: 0, y: 0 }.
paddingreadonlynumberExtra logical pixels rendered around the object. Defaults to the scale.
repeatreadonlybooleanRepeat the map outside its normalized bounds. Defaults to true.
scalereadonlynumber | FlxDisplacementPointPixel displacement; a number applies equally to both axes. Defaults to 20.

Released under the MIT License.