API Documentation
Static Public Member Functions | List of all members
nkAstraeus::lua::stdWrap::ArrayWrapper Class Referencefinal

Wraps available template specializations for std::array and offers functions for use in scripting. More...

Static Public Member Functions

static void updateEnvironment (nkScripts::Environment *env)
 

Detailed Description

Wraps available template specializations for std::array and offers functions for use in scripting.

Member Function Documentation

◆ updateEnvironment()

static void nkAstraeus::lua::stdWrap::ArrayWrapper::updateEnvironment ( nkScripts::Environment env)
static

Updates a given environment and set it up to use all functions wrapped by this wrapper. Currently, type wrapped are :

C++ type Lua name

std::array<float, 4> std.array_float_4
std::array<std::array<float, 4>> std.array_array_float_4_4
Parameters
envThe environment to set up.

The documentation for this class was generated from the following file: