iterami/Docs.htm/common HTM Repos/webgl.js/webgl_json_function(args)
- A function that can allow the JSON Level Format events to call functions that aren't directly in the
globalThis scope, such as globalThis.console.log('static text'), without using eval.
- If the
"spread" arg is true, then the "args" arg will be spread as the function's args, which allows calling functions with multiple separate args in a specific order.
- If the
"spread" arg is false, then the "args" arg is just passed directly as the function's args.
- If you need to pass variables to the called function, then currently you should use the
"eval" function with a string "value", such as "console.log(webgl_character_count)".
| args
| void 0
| anything
|
| spread
| true
| boolean
|
| todo
|
| string
|