guiCoord

From Teverse

Constructors

guiCoord()

guiCoord guiCoord(float scaleX, int offsetX, float scaleY, int offsetY)

Example:

local center = guiCoord(0.5, 0, 0.5, 0)

This point would always be in the centre of a user's viewport.

Properties

offsetX

Type: number

offsetY

Type: number

scaleX

Type: number

scaleY

Type: number

Methods

getScreenPosition

vector2 guiCoord:getScreenPosition()