Float2

class Float2 : Record

A simple record representing two float values.

Since

3.0.0

Parameters

x

the x value

y

the y value

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
val PARSER: JsonDeserializer<Float2>
A GSON deserializer for Float2.

Functions

Link copied to clipboard
abstract fun equals(p: Any): Boolean
Link copied to clipboard
abstract fun hashCode(): Int
Link copied to clipboard
abstract fun toString(): String
Link copied to clipboard
@NotNull
open fun toVector(): @NotNull Vector2f
Converts this record to a Vector2f.