This is the Luxinia API documentation. This documentation is
automaticly created by the AutoDoc class of the luxinialuacore module. You
can create custom templates that fits your use. You can customize the .css
files apart from the lua files - these are not automaticly created and will
not be overwritten if the help files is recreated.
It is necessary to update the documenation if you download a developer build
or if no documentation is available. Please make sure that you always use
the documentation of the Luxinia executable that you are using.
Lua does not have strict typing of variables, and it does not know
float, integer, short or char values as C does. If such types are
required by a function, you can pass any numbervalue. Use tonumber
if your given variable is not a number but a string for example.
You don't have to round your numbers if a int is required - this is
done automaticly.
Overview on numbertypes
The arguments of functions and their return values are described in this way by example:
afunctionname (int x, y, [float z,int/string bla,float])Optional arguments are enclosed in cornered brackets. Types of arguments are optional and not always given. Type descriptions are sometimes only given for the first element of this type and trailing arguments are assumed to be of the same type. The parameter name can also be just the type of the argument. If different types can be passed, a slash is used to tell all the different types.
The return values are described in the same way as the arguments. In most cases, more than one variable is returned.
The Luxinia naming convention divides between module classes and core classes. This is quite usefull since modules and core classes are different in its purpose.
Core classes are provided by the luxinia core itself. This means that each function is implemented in C and should be considered to be "fast". The core function handle all problems that are computational expensive, such as the rendering and physics calculations.
LuxModules provide interface functions and classes to the core classes and additional utility functions that are written in Lua. This is useful for most projects.
You can modify the documentation in several ways. In any case you need to understand how HTML and CSS works.