Ir para o conteúdo principal
Version: latest - a1.64.x ⚖️

📏 Vector2D

A Vector2D composed of components (X, Y) with floating point precision. Used mainly for HUD and Drawing on screen.

👐Open Source
This library implementation is Open Sourced on GitHub!
🧑‍💻API Source
This page is auto-generated! The Functions, Properties and Events described here are defined in our GitHub's API Repository! Feel free to commit suggestions and changes to the source .json API files!

🎒 Examples

local new_vector = Vector2D(1452.5, 512)

🛠 Constructors

Default Constructor

local my_vector2d = Vector2D(X?, Y?)
numberX0X Coordinate
numberYXY Coordinate

🧽 Properties

numberXX Coordinate
numberYY Coordinate

🦠 Functions


This structure supports +, -, *, /, == and tostring operations.

This class doesn't have own functions.