pushState

Platform Compatibility PC Mac OSX Oculus Quest X X X Store state current of obj, will auto-erase oldest after 20 Parameters: index Optional An integer value Example: 1obj.pushState(index)

findUIDInScene

Platform Compatibility PC Mac OSX Oculus Quest X X X Find an object matching the UID (greater than -1), optionally find inactive ones too Parameters: UID An integer value onlyActive Optional A boolean value returns an Integer (whole number) value Example: 1obj.findUIDInScene(UID, onlyActive)

findWithName

Platform Compatibility PC Mac OSX Oculus Quest X X X Find the first one with partial match to name and get index value. Picks from a list of objects we have already stored. Use obj.tryStore() to find objects first! Parameters: name A string value looseCheck Optional A boolean value returns an Integer (whole number) value … Read more findWithName

findWithTag

Platform Compatibility PC Mac OSX Oculus Quest X X X Get index by tag from a list of objects we have already stored. Use obj.tryStore() to find objects first! Parameters: tag A string value returns an Integer (whole number) value Example: 1obj.findWithTag(tag)

storedIndexOf

Platform Compatibility PC Mac OSX Oculus Quest X X X Check a UID, get the index of it in our stack of stored objects to work from (must be non-negative) if it exists Parameters: UID An integer value returns an Integer (whole number) value Example: 1obj.storedIndexOf(UID)

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 … Read more getData

nullParent

Platform Compatibility PC Mac OSX Oculus Quest X X X Set the parent of object to null Parameters: index An integer value Example: 1obj.nullParent(index)

setParent

Platform Compatibility PC Mac OSX Oculus Quest X X X Set the parent of object A to object B Parameters: indexA An integer value indexB An integer value Example: 1obj.setParent(indexA, indexB)

storeParent

Platform Compatibility PC Mac OSX Oculus Quest X X X Try and store the parent of an object Parameters: index Optional An integer value returns an Integer (whole number) value Example: 1obj.storeParent(index)

findChild

Platform Compatibility PC Mac OSX Oculus Quest X X X Find a child object by name of an object or self if no index provided Parameters: child A string value index Optional An integer value returns an Integer (whole number) value Example: 1obj.findChild(child, index)