This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
set_screen_effect_property [2025/02/16 14:49] – justin | set_screen_effect_property [2025/02/16 18:17] (current) – justin | ||
---|---|---|---|
Line 1: | Line 1: | ||
======Set Screen Effect Property====== | ======Set Screen Effect Property====== | ||
---- | ---- | ||
- | (WIP) | + | Modifies a property for either the VHS/CRT monitor effect or the retro effect. See below for a list of properties that can be changed for each screen effect and their possible values. |
====Signature: | ====Signature: | ||
Line 9: | Line 9: | ||
^Argument^Description^Type^Required^ | ^Argument^Description^Type^Required^ | ||
- | |property_name| |[[String]]|Yes| | + | |property_name|Name of the property.|[[String]]|Yes| |
- | |property_value| |Varies|Yes| | + | |property_value|Value that will be assigned to the property.|Varies|Yes| |
- | |duration| |[[Number]]|No| | + | |duration|Duration over which the property will be changed (in seconds).|[[Number]]|No| |
+ | |screen_effect_id|ID of the screen effect to change the property for, either " | ||
The following properties are available to change for the VHS/CRT monitor effect: | The following properties are available to change for the VHS/CRT monitor effect: | ||
Line 31: | Line 32: | ||
|brightness|Decimal value from 0 to 10.|[[Number]]| | |brightness|Decimal value from 0 to 10.|[[Number]]| | ||
|discolor|Must be true in order for saturation and contrast to be changed.|[[Boolean]]| | |discolor|Must be true in order for saturation and contrast to be changed.|[[Boolean]]| | ||
- | |saturation|Decimal value from -10 to 10. Requires the discolor property to be true, otherwise changing the saturation will have no effect.|[[Number]]| | + | |saturation|Decimal value from -10 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]]| | + | |contrast|Decimal value from 0 to 10. Requires the "discolor" |
|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]]| | ||
Line 40: | Line 41: | ||
^Property^Description^Type^ | ^Property^Description^Type^ | ||
|scale_resolution|[[Boolean]] value (true or false).|[[Boolean]]| | |scale_resolution|[[Boolean]] value (true or false).|[[Boolean]]| | ||
+ | |resolution_scale|Integer value from 1 to 32. Requires the " | ||
+ | |change_color_depth|[[Boolean]] value (true or false).|[[Boolean]]| | ||
+ | |color_depth|Integer value from 1 to 8. Requires the " | ||
+ | |dithering|[[Boolean]] value (true or false).|[[Boolean]]| | ||
====Example: | ====Example: | ||
<code bauxite> | <code bauxite> | ||
+ | set_screen_effect_property(" | ||
</ | </ | ||
- | // | + | // |
<WRAP center round tip 100%> | <WRAP center round tip 100%> |