Register a C++ function with the console making it callable as a method of the given namespace from the scripting engine.
@param nameSpace Name of the namespace to associate the new function with; this is usually the name of a class. @param name Name of the new function. @param cb Pointer to the function implementing the scripting call; a console callback function returning a specific type value. @param usage Documentation for this function. @ref console_autodoc @param minArgs Minimum number of arguments this function accepts @param maxArgs Maximum number of arguments this function accepts @param toolOnly Wether this is a TORQUE_TOOLS only function. @param header The extended function header.
Copyright (c) 2015. All rights reserved.
|
What do you think about this topic? Send feedback!
|