VR-Engage  2.2
Loading...
Searching...
No Matches
overlay.h
Go to the documentation of this file.
1/******************************************************************************
2** Copyright (c) 2025 MAK Technologies
3** All rights reserved.
4******************************************************************************/
5
6//! \file overlay.h
7//! \brief Defines Lua bindings for overlay functionality in VREngage
8//!
9//! This file contains the function for registering overlay functionality with Lua.
10//! It allows Lua scripts to create and manipulate 2D overlays in the 3D environment,
11//! enabling the creation of heads-up displays, user interfaces, and other 2D visual
12//! elements within the VREngage system.
13
14#pragma once
15
17
18struct lua_State;
19
20namespace makVre
21{
22//! \brief Registers overlay functions with a Lua state
23//! \param L Pointer to the Lua state to register with
24//! \return Number of values pushed onto the Lua stack
25//!
26//! This function registers overlay functionality with the specified Lua state.
27//! It creates an Overlay table in Lua with functions for creating and manipulating
28//! 2D overlays in the 3D environment. Overlays can be used to create heads-up displays,
29//! user interfaces, and other 2D visual elements that can be positioned and oriented
30//! within the VREngage 3D world.
32} // namespace makVre
Defines export macros for the vreLuaBindings library.
#define VRELUABINDING_DLL
Export/import macro for non-Windows platforms.
Definition export.h:37
Include export definitions for this library.
Definition glsVreMessageUtil.h:49
int VRELUABINDING_DLL luaopen_Overlay(lua_State *L)
Registers overlay functions with a Lua state.