Class

AnimationVector2D

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

Source set: Common
public class AnimationVector2D(v1: Float, v2: Float) : AnimationVector()

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

Properties

v1

Source set: Common
public var : Float

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

v2

Source set: Common
public var : Float

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

Last updated: