Glow

data class Glow(radius: Float) : TextureTransformModifier

Adds a glow effect to a tile.

Parameters

radius

the radius of the glow in pixels.

Constructors

Glow
Link copied to clipboard
common
fun Glow(radius: Float = 5.0f)
the radius of the glow in pixels.

Functions

component1
Link copied to clipboard
common
operator fun component1(): Float
copy
Link copied to clipboard
common
fun copy(radius: Float = 5.0f): Glow
equals
Link copied to clipboard
common
open operator override fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
common
open override fun hashCode(): Int
toString
Link copied to clipboard
common
open override fun toString(): String

Properties

cacheKey
Link copied to clipboard
common
open override val cacheKey: String
A unique and immutable cache key for this object.
radius
Link copied to clipboard
common
val radius: Float = 5.0f
the radius of the glow in pixels.

Sources

(source)
Link copied to clipboard