This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
set_screen_effect_property [2024/02/25 19:11] – justin | set_screen_effect_property [2024/02/25 19:13] (current) – justin | ||
---|---|---|---|
Line 13: | Line 13: | ||
|duration| |[[Number]]|No| | |duration| |[[Number]]|No| | ||
- | The following | + | The following |
^Property^Description^Type^ | ^Property^Description^Type^ | ||
|scanlines_opacity|Decimal value from 0 to 1.|[[Number]]| | |scanlines_opacity|Decimal value from 0 to 1.|[[Number]]| | ||
Line 19: | Line 19: | ||
|grille_opacity|Decimal value from 0 to 1.|[[Number]]| | |grille_opacity|Decimal value from 0 to 1.|[[Number]]| | ||
|resolution|Value should be an [[array]] containing two values, width and height.|[[Array]]| | |resolution|Value should be an [[array]] containing two values, width and height.|[[Array]]| | ||
- | |pixelate| |[[Boolean]]| | + | |pixelate|[[Boolean]] value (true or false).|[[Boolean]]| |
- | |roll| |[[Boolean]]| | + | |roll|[[Boolean]] value (true or false).|[[Boolean]]| |
|roll_speed|Decimal value from -100 to 100.|[[Number]]| | |roll_speed|Decimal value from -100 to 100.|[[Number]]| | ||
|roll_size|Decimal value from 0 to 100.|[[Number]]| | |roll_size|Decimal value from 0 to 100.|[[Number]]| | ||
Line 30: | Line 30: | ||
|aberration|Decimal value from -1 to 1.|[[Number]]| | |aberration|Decimal value from -1 to 1.|[[Number]]| | ||
|brightness|Decimal value from 0 to 10.|[[Number]]| | |brightness|Decimal value from 0 to 10.|[[Number]]| | ||
- | |discolor|Must be enabled | + | |discolor|Must be true in order for saturation and contrast to be changed.|[[Boolean]]| |
- | |saturation|Decimal value from -10 to 10. Requires the "discolor" | + | |saturation|Decimal value from -10 to 10. Requires the discolor property to be true, otherwise changing the saturation will have no effect.|[[Number]]| |
- | |contrast|Decimal value from 0 to 10. Requires the "discolor" | + | |contrast|Decimal value from 0 to 10. Requires the discolor property to be true otherwise changing the contrast will have no effect.|[[Number]]| |
|warp_amount|Decimal value from 0 to 5.|[[Number]]| | |warp_amount|Decimal value from 0 to 5.|[[Number]]| | ||
|vignette_intensity|Decimal value from 0 to 1.|[[Number]]| | |vignette_intensity|Decimal value from 0 to 1.|[[Number]]| |