Scripting API

<<LensCorrection Main Index LightenDarken>>
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

LensDistortion

Script Name: LensDistortion
Name: Lens Distortion
Library: CmdGeometry
Description: Creates an effect caused by some types of lens.
Status bar text: Apply lens distortion effect
Tool tip text: Lens Distortion
Undo text: Lens Distortion
 
Parameter Repository:
NameScript NameType Description Supports None Default Minimum Maximum
Distortion TypeDistortionTypeEnumeration (DistortionType)Effect typeNoPincushion
StrengthStrengthIntegerStrength"Field of view" parameter instead of "Strength"No250100
Field Of ViewFieldOfViewIntegerField of view in degrees for fisheye distortion ( strength of the effect )No1000179
Horizontal OffsetHorizontalOffsetIntegerHorizontal center offsetNo0-500500
Vertical OffsetVerticalOffsetIntegerVertical center offsetNo0-500500
Edge ModeEdgeModeEnumeration (EdgeMode)Determines how areas outside of the effect will be filledNoBackground
Background ColorBackgroundColorColorBackground color (background edge mode only)NoRed 0
Blue 0
Green 0
Red 0
Blue 0
Green 0
Red 255
Blue 255
Green 255
General SettingsGeneralSettingsParameter RepositoryContains parameters that control the execution of the command.No
 
Command Attributes:
IsExternal: true
IsUndoable: true
ProcessChanges: true
FinalizeTransient: true
ShowInEffectsBrowser: true
This command is safe for execution in a processing thread.: true
This command is safe for execution in a processing thread.: true
 
Resource Attributes:
HasWinPlacement: true
IsPreviewable: true
IsProofable: true
HelpID:33167
DlgHasPresets: true
DlgHasRandomize: true
IsEditable: true