InterfaceRendering & Filters@public
FlxDisplacementFilterOptions
Options for link.
ts
export interface FlxDisplacementFilterOptions1
Properties
| Property | Modifiers | Type | Description |
|---|---|---|---|
offset | readonly | FlxDisplacementPoint | Normalized map-texture offset. Defaults to { x: 0, y: 0 }. |
padding | readonly | number | Extra logical pixels rendered around the object. Defaults to the scale. |
repeat | readonly | boolean | Repeat the map outside its normalized bounds. Defaults to true. |
scale | readonly | number | FlxDisplacementPoint | Pixel displacement; a number applies equally to both axes. Defaults to 20. |