ImageFilterDefocusBlur#
(Defocus Blur)
- Category:
ImageFilter
- Default object name:
defocus_blur
- Inherits from: ProjectItem > ImageFilter > KernelFilter
No corresponding User page.
Description#
Applies a defocus blur to the image.
Public Attributes#
Type | Name | Visual Hint | Description |
---|---|---|---|
double |
pixel |
VISUAL_HINT_SUBPIXEL |
Set the radius of the filter. |
long |
sides |
VISUAL_HINT_DEFAULT |
Set the number of sides of the bokeh. |
double |
rotation |
VISUAL_HINT_ANGLE |
Set the rotation of the bokeh. |
CID#
class "ImageFilterDefocusBlur" "KernelFilter" {
#version 0.9
icon "../icons/object_icons/filter_defocus_blur.iconrc"
category "ImageFilter"
doc "Applies a defocus blur to the image."
subpixel "pixel" {
doc "Set the radius of the filter."
animatable yes
slider yes
numeric_range yes 0.0 250
ui_range yes 0.0 250
value 0.0
}
long "sides" {
doc "Set the number of sides of the bokeh."
animatable yes
slider yes
numeric_range yes 0.0 1024
ui_range yes 0.0 10
value 5
}
angle "rotation" {
doc "Set the rotation of the bokeh."
animatable yes
slider yes
value 0.0
}
}