Scripting

Search The Documentation:

  1. Home
  2. Docs
  3. Scripting
  4. Object Data
  5. getData

getData

Platform Compatibility

PC Mac OSX Oculus Quest
X X X

Get the object data and try to store it, optionally allows getting without storing.

Returns position X,Y,Z, Euler rotation X,Y,Z, local position X,Y,Z, local Euler rotation X,Y,Z, local scale X,Y,Z, all glued together in one string.

Parameters:

  • tag
    • A string value
  • compareUID Optional
    • An integer value
  • store Optional
    • A boolean value

returns a String (text) value

Example:

1
obj.getData(tag, compareUID, store)
Tags
Was this article helpful to you? Yes No

How can we help?