User Tools

Site Tools


set_screen_effect_property

Set Screen Effect Property


(WIP)

Signature:

set_screen_effect_property(property_name, property_value, duration)
ArgumentDescriptionTypeRequired
property_name StringYes
property_value VariesYes
duration NumberNo

The following properties are available to change using this function:

PropertyDescriptionType
scanlines_opacityDecimal value from 0 to 1.Number
scanlines_widthDecimal value from 0 to 0.5.Number
grille_opacityDecimal value from 0 to 1.Number
resolutionValue should be an array containing two values, width and height.Array
pixelateBoolean value (true or false).Boolean
rollBoolean value (true or false).Boolean
roll_speedDecimal value from -100 to 100.Number
roll_sizeDecimal value from 0 to 100.Number
roll_variationDecimal value from 0.1 to 5.Number
distort_intensityDecimal value from 0 to 0.2.Number
noise_opacityDecimal value from 0 to 1.Number
noise_speedDecimal value from 0 to 100.Number
noise_intensityDecimal value from 0 to 1.Number
aberrationDecimal value from -1 to 1.Number
brightnessDecimal value from 0 to 10.Number
discolorMust be true in order for saturation and contrast to be changed.Boolean
saturationDecimal value from -10 to 10. Requires the discolor property to be true, otherwise changing the saturation will have no effect.Number
contrastDecimal value from 0 to 10. Requires the discolor property to be true otherwise changing the contrast will have no effect.Number
warp_amountDecimal value from 0 to 5.Number
vignette_intensityDecimal value from 0 to 1.Number
vignette_opacityDecimal value from 0 to 1.Number

Example:

 

Results:

Use the Set Screen Effect Property function to…


Editor Node:

set_screen_effect_property.txt · Last modified: 2024/02/25 19:13 by justin