RainState

The Rain effects applied to the style.

Constructors

Link copied to clipboard
fun RainState()

Types

Link copied to clipboard
object Companion

Public companion object.

Link copied to clipboard
data class Holder : Parcelable

Rain Holder class to be used within Saver.

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String

Returns a string representation of the object.

Properties

Link copied to clipboard

Thinning factor of rain particles from center. 0 - no thinning. 1 - maximal central area thinning. Default value: 1. Value range: 0, 1

Link copied to clipboard

Defines the transition of centerThinning. Default value: 1. Value range: 0, 1

Link copied to clipboard

Default value: "#ffffff".

Link copied to clipboard

Defines the transition of color. Default value: "#ffffff".

Link copied to clipboard

Rain particles density. Default value: 1. Value range: 0, 1

Link copied to clipboard

Defines the transition of density. Default value: 1. Value range: 0, 1

Link copied to clipboard

Main rain particles direction. Heading & pitch Default value: 0,80. Value range: 0, 360

Link copied to clipboard

Defines the transition of direction. Default value: 0,80. Value range: 0, 360

Link copied to clipboard

Rain particles movement factor. Default value: 1. Value range: 0, 1

Link copied to clipboard

Defines the transition of intensity. Default value: 1. Value range: 0, 1

Link copied to clipboard

Rain particles opacity. Default value: 1. Value range: 0, 1

Link copied to clipboard

Defines the transition of opacity. Default value: 1. Value range: 0, 1

Link copied to clipboard

Rain vignette screen-space effect. Default value: 0. Value range: 0, 1

Link copied to clipboard

Defines the transition of vignette. Default value: 0. Value range: 0, 1