🌈 Create new beautiful Compose Gradients with our new wesite ->
Class

AnimationVector4D

This class defines a 4D vector that contains four Float fields for its four dimensions.

Source set: Common
public class AnimationVector4D(v1: Float, v2: Float, v3: Float, v4: Float) : AnimationVector()

This class defines a 4D vector that contains four Float fields for its four dimensions.

Parameters

v1 initial value to set on the first dimension
v2 initial value to set on the second dimension
v3 initial value to set on the third dimension
v4 initial value to set on the fourth dimension

Properties

v1

Source set: Common
public var v1: Float = v1

Float value field for the first dimension of the 4D vector.

v2

Source set: Common
public var v2: Float = v2

Float value field for the second dimension of the 4D vector.

v3

Source set: Common
public var v3: Float = v3

Float value field for the third dimension of the 4D vector.

v4

Source set: Common
public var v4: Float = v4

Float value field for the fourth dimension of the 4D vector.

size

Source set: Common
override val size: Int = 4

Functions

reset

Source set: Common
override fun reset()

newVector

Source set: Common
override fun newVector(): AnimationVector4D

get

Source set: Common
override fun get(index: Int): Float

set

Source set: Common
override fun set(index: Int, value: Float)

toString

Source set: Common
override fun toString(): String

equals

Source set: Common
override fun equals(other: Any?): Boolean

hashCode

Source set: Common
override fun hashCode(): Int