SnowState

The Snow effects applied to the style.

Constructors

Link copied to clipboard
fun SnowState()

Types

Link copied to clipboard
object Companion

Public companion object.

Link copied to clipboard
data class Holder : Parcelable

Snow 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 snow particles from center. 0 - no thinning. 1 - maximal central area thinning. Default value: 0.4. Value range: 0, 1

Link copied to clipboard

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

Link copied to clipboard

Snow particles color. Default value: "#ffffff".

Link copied to clipboard

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

Link copied to clipboard

Snow particles density. Controls the overall particles number. Default value: "["interpolate","linear","zoom",11,0,13,0.85]". Value range: 0, 1

Link copied to clipboard

Defines the transition of density. Default value: "["interpolate","linear","zoom",11,0,13,0.85]". Value range: 0, 1

Link copied to clipboard

Main snow particles direction. Azimuth and polar angles Default value: 0,50. Value range: 0, 360

Link copied to clipboard

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

Link copied to clipboard

Snow flake particle size. Correlates with individual particle screen size Default value: 0.71. Value range: 0, 5

Link copied to clipboard

Defines the transition of flakeSize. Default value: 0.71. Value range: 0, 5

Link copied to clipboard

Snow particles movement factor. Controls the overall particles movement speed. 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

Snow 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

Snow vignette screen-space effect. Adds snow tint to screen corners Default value: "["interpolate","linear","zoom",11,0,13,0.3]". Value range: 0, 1

Link copied to clipboard

Snow vignette screen-space corners tint color. Default value: "#ffffff".

Link copied to clipboard

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

Link copied to clipboard

Defines the transition of vignette. Default value: "["interpolate","linear","zoom",11,0,13,0.3]". Value range: 0, 1