Int4

data class Int4(var x: Int = 0, var y: Int = 0, var z: Int = 0, var w: Int = 0)

Constructors

Link copied to clipboard
constructor(x: Int = 0, y: Int = 0, z: Int = 0, w: Int = 0)
constructor(v: Int)
constructor(v: Int2, z: Int = 0, w: Int = 0)
constructor(v: Int3, w: Int = 0)
constructor(v: Int4)

Properties

Link copied to clipboard
var a: Int
Link copied to clipboard
var b: Int
Link copied to clipboard
var g: Int
Link copied to clipboard
var p: Int
Link copied to clipboard
var q: Int
Link copied to clipboard
var r: Int
Link copied to clipboard
var rg: Int2
Link copied to clipboard
var rgb: Int3
Link copied to clipboard
var rgba: Int4
Link copied to clipboard
var s: Int
Link copied to clipboard
var st: Int2
Link copied to clipboard
var stp: Int3
Link copied to clipboard
var stpq: Int4
Link copied to clipboard
var t: Int
Link copied to clipboard
var w: Int
Link copied to clipboard
var x: Int
Link copied to clipboard
var xy: Int2
Link copied to clipboard
var xyz: Int3
Link copied to clipboard
var xyzw: Int4
Link copied to clipboard
var y: Int
Link copied to clipboard
var z: Int

Functions

Link copied to clipboard
operator fun dec(): Int4
Link copied to clipboard
inline operator fun div(v: Int2): Int4
inline operator fun div(v: Int3): Int4
inline operator fun div(v: Int4): Int4
inline operator fun div(v: Int): Int4
Link copied to clipboard
infix inline fun Int4.eq(b: Int4): Bool4
infix inline fun Int4.eq(b: Int): Bool4
Link copied to clipboard
operator fun get(index: VectorComponent): Int
operator fun get(index: Int): Int
operator fun get(index1: VectorComponent, index2: VectorComponent): Int2
operator fun get(index1: Int, index2: Int): Int2
operator fun get(index1: VectorComponent, index2: VectorComponent, index3: VectorComponent): Int3
operator fun get(index1: Int, index2: Int, index3: Int): Int3
operator fun get(index1: VectorComponent, index2: VectorComponent, index3: VectorComponent, index4: VectorComponent): Int4
operator fun get(index1: Int, index2: Int, index3: Int, index4: Int): Int4
Link copied to clipboard
infix inline fun Int4.gt(b: Int4): Bool4
infix inline fun Int4.gt(b: Int): Bool4
Link copied to clipboard
infix inline fun Int4.gte(b: Int4): Bool4
infix inline fun Int4.gte(b: Int): Bool4
Link copied to clipboard
operator fun inc(): Int4
Link copied to clipboard
inline operator fun invoke(index: Int): Int
Link copied to clipboard
infix inline fun Int4.lt(b: Int4): Bool4
infix inline fun Int4.lt(b: Int): Bool4
Link copied to clipboard
infix inline fun Int4.lte(b: Int4): Bool4
infix inline fun Int4.lte(b: Int): Bool4
Link copied to clipboard
inline operator fun minus(v: Int2): Int4
inline operator fun minus(v: Int3): Int4
inline operator fun minus(v: Int4): Int4
inline operator fun minus(v: Int): Int4
Link copied to clipboard
infix inline fun Int4.neq(b: Int4): Bool4
infix inline fun Int4.neq(b: Int): Bool4
Link copied to clipboard
inline operator fun plus(v: Int2): Int4
inline operator fun plus(v: Int3): Int4
inline operator fun plus(v: Int4): Int4
inline operator fun plus(v: Int): Int4
Link copied to clipboard
operator fun set(index: VectorComponent, v: Int)
operator fun set(index: Int, v: Int)
operator fun set(index1: VectorComponent, index2: VectorComponent, v: Int)
operator fun set(index1: Int, index2: Int, v: Int)
operator fun set(index1: VectorComponent, index2: VectorComponent, index3: VectorComponent, v: Int)
operator fun set(index1: Int, index2: Int, index3: Int, v: Int)
operator fun set(index1: VectorComponent, index2: VectorComponent, index3: VectorComponent, index4: VectorComponent, v: Int)
operator fun set(index1: Int, index2: Int, index3: Int, index4: Int, v: Int)
Link copied to clipboard
inline operator fun times(v: Int2): Int4
inline operator fun times(v: Int3): Int4
inline operator fun times(v: Int4): Int4
inline operator fun times(v: Int): Int4
Link copied to clipboard
Link copied to clipboard
inline fun transform(block: (Int) -> Int): Int4
Link copied to clipboard
operator fun unaryMinus(): Int4