AnimationVector2D

This class defines a 2D vector that contains two Float values for the two dimensions.

Parameters

v1

initial value to set on the first dimension

v2

initial value to set on the second dimension

Constructors

Link copied to clipboard
constructor(v1: Float, v2: Float)

Properties

Link copied to clipboard
var v1: Float

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

Link copied to clipboard
var v2: Float

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

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