Vector2int16
Stores two signed 16-bit integer coordinates.
Behavior
Vector2int16 stores two signed 16-bit integer coordinates.
Summary
Constructors1
Members2
Constructors
new
Vector2int16.new(x: number?, y: number?): Vector2int16Creates an integer vector. Omitted coordinates default to zero.
Properties
X
Vector2int16.X: numberThe signed 16-bit X coordinate.
Y
Vector2int16.Y: numberThe signed 16-bit Y coordinate.
Operators
__add · __eq · __mul · __sub · __tostring · __type · __unm