RainDslReceiver
This Interface contains all the functions that will be exposed to Koltin DSL.
Separated the DSL receiver class to this interface to avoid IDE code suggestion for property getters.
Functions
Thinning factor of rain particles from center. 0 - no thinning. 1 - maximal central area thinning. Default value: 1. Value range: 0, 1
Set the CenterThinning property transition options.
DSL for centerThinningTransition.
Default value: "#ffffff".
Set the Color property transition options.
DSL for colorTransition.
Rain particles density. Default value: 1. Value range: 0, 1
Set the Density property transition options.
DSL for densityTransition.
Main rain particles direction. Heading & pitch Default value: 0,80. Value range: 0, 360
Set the Direction property transition options.
DSL for directionTransition.
Rain particles movement factor. Default value: 1. Value range: 0, 1
Set the Intensity property transition options.
DSL for intensityTransition.
Rain particles opacity. Default value: 1. Value range: 0, 1
Set the Opacity property transition options.
DSL for opacityTransition.
Rain vignette screen-space effect. Default value: 0. Value range: 0, 1
Set the Vignette property transition options.
DSL for vignetteTransition.