ImageFilterGamma#
(Gamma)
- Category:
ImageFilter
- Default object name:
gamma
- Inherits from: ProjectItem > ImageFilter > PixelFilter
No corresponding User page.
Description#
Adjust the gamma of the image.
Public Attributes#
Type | Name | Visual Hint | Description |
---|---|---|---|
double[3] |
color |
VISUAL_HINT_COLOR |
Set color. |
double |
alpha |
VISUAL_HINT_PERCENTAGE |
Set alpha. |
Inherited Public Attributes#
Type | Name | Visual Hint | Description |
---|---|---|---|
bool |
channel_r |
VISUAL_HINT_DEFAULT |
Whether this filter affects the red channel or not. |
bool |
channel_g |
VISUAL_HINT_DEFAULT |
Whether this filter affects the green channel or not. |
bool |
channel_b |
VISUAL_HINT_DEFAULT |
Whether this filter affects the blue channel or not. |
bool |
channel_a |
VISUAL_HINT_DEFAULT |
Whether this filter affects the alpha channel or not. |
bool |
channel_z |
VISUAL_HINT_DEFAULT |
Whether this filter affects the Z channel or not. |
CID#
class "ImageFilterGamma" "PixelFilter" {
#version 0.91
icon "../icons/object_icons/filter_gamma.iconrc"
category "ImageFilter"
doc "Adjust the gamma of the image."
color "color" {
doc "Set color."
texturable yes
animatable yes
slider yes
ui_range yes 0.0 5
value 1 1 1
}
percentage "alpha" {
doc "Set alpha."
texturable yes
animatable yes
slider yes
ui_range yes 0.0 5
value 1
}
}