2D UI category - Stingray Lua API Reference

Description

This category contains API elements related to two-dimensional UIs that you can create within a Stingray 3D game, such as HUDs (heads-up displays), menus, life meters, etc.

Objects

A Gui is an object that manages primitive 2D shapes -- like rectangles, triangles, and text -- and draws them in the engine viewport.
An object that can play video.

Tables

Represents a single color, created by a call to the stingray.Color() function.
Represents a two-dimensional matrix, created by a call to the stingray.Rotation2D() function.