Avorion Script API Documentation

Color Color

Properties
a
b
g
html
hue
r
saturation
value

Member Functions
__tostring
setHSV
toInt

Color

function Color(var c)

Returns

A new instance of Color

property float a
property float b
property float g
property string html[read-only]
property float hue
property float r
property float saturation
property float value

function string __tostring()

function var setHSV(float h, float s, float v)

Returns

nothing

function int toInt()

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