Scripting

Search The Documentation:

  1. Home
  2. Docs
  3. Scripting
  4. Web
  5. FunctionJS

FunctionJS

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)
Tags
Was this article helpful to you? Yes No

How can we help?