Scripting

Search The Documentation:

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

floatingText

Platform Compatibility

PC Mac OSX Oculus Quest
X X

Display some text? Only for NON-VR as it uses a UI text display rather than the 3D in-world one of set3DText

Parameters:

  • text
    • A string value
  • position (optional)
    • A string value
  • type (optional)
    • An integer value

Example:

1
obj.floatingText(text, position, type = 2)
Tags
Was this article helpful to you? Yes No

How can we help?