float2
A simple two float Vector used for interfacing with Vector2 and Networking.
note
This type can be networked
Properties
Property Name | Property Type | Default Value | Description |
---|---|---|---|
x | float | 0 | The X value of the Vector |
y | float | 0 | The Y value of the Vector |
Constructors
Constructor | Description |
---|---|
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. |