Skip to main content

float2

A simple two float Vector used for interfacing with Vector2 and Networking.

note

This type can be networked

Properties

Property NameProperty TypeDefault ValueDescription
xfloat0The X value of the Vector
yfloat0The Y value of the Vector

Constructors

ConstructorDescription
float2()Returns a float2 with properties x and y left at default.
float2(float x, float y)Returns a float2 with property x set to the first parameter, and property y set to the second parameter.