Avorion Script API Documentation

vec2 vec2

Properties
x
y

Member Functions
__add
__div
__eq
__lt
__mul
__sub
__tostring
__unm

vec2

function vec2(var x, var y)

Parameters

x
y

Returns

A new instance of vec2

property float x
property float y

function vec2 __add(var other)

function vec2 __div(var other)

function bool __eq(vec2 other)

function bool __lt(vec2 other)

function vec2 __mul(var other)

function vec2 __sub(var other)

function string __tostring()

function vec2 __unm()

Overview
Home Functions Search
Search:

This is the official documentation for the scripting API of Avorion. This documentation is automatically generated and not necessarily complete. Depending on the context in which functions exist, some documentation such as descriptions, return values or variable names or types may be missing.

Work in Progress. Documentation of Avorion Version: 2.5.7 c8e4beec84f7