Open Asterune
Vector2int16

Vector2int16

Stores two signed 16-bit integer coordinates.

Behavior

Vector2int16 stores two signed 16-bit integer coordinates.

Summary

Constructors1
Functions1
  • Vector2int16.new(x: number?, y: number?): Vector2int16

    Creates an integer vector.

Members2
Properties2
  • X: numberread only

    The signed 16-bit X coordinate.

  • Y: numberread only

    The signed 16-bit Y coordinate.

Constructors

new

Vector2int16.new(x: number?, y: number?): Vector2int16

Creates an integer vector. Omitted coordinates default to zero.

Properties

X

Vector2int16.X: number

The signed 16-bit X coordinate.

Y

Vector2int16.Y: number

The signed 16-bit Y coordinate.

Operators

__add · __eq · __mul · __sub · __tostring · __type · __unm