Platform Compatibility
PC | Mac OSX | Oculus Quest |
---|---|---|
X | X | – |
Run a JavaScript function on browser (0 = hidden, 1 = 2D, 2 = 3D) and optionally store to storedString (will blank that string until filled!)
Parameters:
- functionName
- A string value
- parameters
- A string value
- browser Optional
- An integer value
- storeToString Optional
- A string value
Example:
1 | obj.FunctionJS(functionName, parameters, browser, storeToString) |