Color4f

class Color4f(val r: Float, val g: Float, val b: Float, val a: Float = 1.0f)

Constructors

Link copied to clipboard
constructor(rgba: FloatArray)
constructor(c: Int)
constructor(r: Float, g: Float, b: Float, a: Float = 1.0f)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val a: Float = 1.0f
Link copied to clipboard
val b: Float
Link copied to clipboard
val g: Float
Link copied to clipboard
val r: Float

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
fun makeLerp(other: Color4f, weight: Float): Color4f
Link copied to clipboard
fun toColor(): Int
Link copied to clipboard
open override fun toString(): String
Link copied to clipboard
fun withA(_a: Float): Color4f
Link copied to clipboard
fun withB(_b: Float): Color4f
Link copied to clipboard
fun withG(_g: Float): Color4f
Link copied to clipboard
fun withR(_r: Float): Color4f