Scripting

Search The Documentation:

  1. Home
  2. Docs
  3. Scripting
  4. Text
  5. loadWebBytes

loadWebBytes

Platform Compatibility

PC Mac OSX Oculus Quest
X X X

Load bytes as UTF8 text from a web file and store it to a global string once loaded, manually check the string later to ensure it has loaded (if not loaded the value will be emptied)

Parameters:

  • filename
    • A string value
  • globalname
    • A string value

Example:

1
obj.loadWebBytes(filename, globalname)
Tags
Was this article helpful to you? Yes No

How can we help?