The DisplacementMapFilterMode class provides values for the mode property of the DisplacementMapFilter class.

Variables

inline read onlyCLAMP:DisplacementMapFilterMode = "clamp"

Clamps the displacement value to the edge of the source image.

inline read onlyCOLOR:DisplacementMapFilterMode = "color"

If the displacement value is outside the image, substitutes the values in the color and alpha properties.

inline read onlyIGNORE:DisplacementMapFilterMode = "ignore"

If the displacement value is out of range, ignores the displacement and uses the source pixel.

inline read onlyWRAP:DisplacementMapFilterMode = "wrap"

Wraps the displacement value to the other side of the source image.