Avorion Script API Documentation

QuadTree QuadTree

Properties
empty

Member Functions
get
insert
nearest

QuadTree

function QuadTree(vec2 min, vec2 max, int maxLevel)

Returns

A new instance of QuadTree

property bool empty[read-only]

function auto values = get(vec2 center, float radius)

function var insert(vec2 point)

Returns

nothing

function var, var nearest(float x, float y, var radius)

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