Corner Distort

Corner Distort operator properties for Script Engine. Warps the image by moving each of its four corners independently, producing a perspective-style transform. Useful for screen-replacement effects where a flat video has to be mapped onto a tilted screen in another shot, virtual-set work that needs perspective correction on a graphic, lining up tracked footage to a planar surface, faking camera angles on a static graphic, and applying simple keystone correction. All eight values are pixel offsets from the original corner positions — set them all to zero to leave the image untouched.

Property Type Access Description
TopLeftX double get/set Horizontal offset (in pixels) for the top-left corner. [default=0]. Positive values push the corner inward (right); negative values push it outward (left).
TopLeftY double get/set Vertical offset (in pixels) for the top-left corner. [default=0]. Positive values push the corner downward; negative values push it upward.
TopRightX double get/set Horizontal offset (in pixels) for the top-right corner. [default=0]. Positive values push the corner outward (right); negative values push it inward (left).
TopRightY double get/set Vertical offset (in pixels) for the top-right corner. [default=0]. Positive values push the corner downward; negative values push it upward.
BottomLeftX double get/set Horizontal offset (in pixels) for the bottom-left corner. [default=0]. Positive values push the corner inward (right); negative values push it outward (left).
BottomLeftY double get/set Vertical offset (in pixels) for the bottom-left corner. [default=0]. Positive values push the corner upward; negative values push it downward.
BottomRightX double get/set Horizontal offset (in pixels) for the bottom-right corner. [default=0]. Positive values push the corner outward (right); negative values push it inward (left).
BottomRightY double get/set Vertical offset (in pixels) for the bottom-right corner. [default=0]. Positive values push the corner upward; negative values push it downward.
ResetCmd Command get Reset all settings to their defaults (all eight corner offsets set to 0).

Inherits from: AbstractOperator, AbstractAudioMetering.

See also: Corner Distort in Operators — user-facing introduction, screenshots, and section summaries.