ref:lua_scone

LuaScone

Access to scone logging and parameters.

Use this for logging, or accessing parameters defined in scone. Lua example:

scone.debug( 'This is a debug message!' )
scone.info( 'This is a info message!' )
scone.warning( 'This is a warning!' )
scone.error( 'This is an error!' )
local body_name = scone.body_name -- access parameter defined in ScriptMeasure or ScriptController
Function Description
void trace(LuaString msg) display trace message
void debug(LuaString msg) display debug message
void info(LuaString msg) display info message
void warning(LuaString msg) display warning message
void error(LuaString msg) display error message
LuaQuat quat_from_euler_deg(double x, double y, double z) create quaternion from Euler angles (xyz degrees)
LuaQuat quat_from_euler_rad(double x, double y, double z) create quaternion from Euler angles (xyz radians)

Converted from doxygen using dokugen