createObject

Platform Compatibility PC Mac OSX Oculus Quest X X X Create object from the resources folder of the engine by name and get its index if successful Parameters: resource A string value x A float value y A float value z A float value UID Optional An integer value returns an Integer (whole number) value … Read more createObject

setAllActive

Platform Compatibility PC Mac OSX Oculus Quest X X X Set all objects to active or not Parameters: _tf A boolean value Example: 1obj.setAllActive(_tf)

setStoredActive

Platform Compatibility PC Mac OSX Oculus Quest X X X Set an object to active or not Parameters: index An integer value _tf A boolean value Example: 1obj.setStoredActive(index, _tf)

setAllTags

Platform Compatibility PC Mac OSX Oculus Quest X X X Change tags on all objects Parameters: tag A string value Example: 1obj.setAllTags(tag)

getLayer

Platform Compatibility PC Mac OSX Oculus Quest X X X Get layer, -1 for self Parameters: index Optional An integer value Example: 1obj.getLayer(index)

setLayer

Platform Compatibility PC Mac OSX Oculus Quest X X X Set object layer, -1 for self Parameters: layer A string value index Optional An integer value Example: 1obj.setLayer(layer, index)

setStoredTag

Platform Compatibility PC Mac OSX Oculus Quest X X X Change tags on a stored object Parameters: index An integer value tag Optional (leave blank for “Untagged”) A string value affectCollider Optional A boolean value Example: 1obj.setStoredTag(obj.self(), "Friend", false)

setStoredName

Platform Compatibility PC Mac OSX Oculus Quest X X X Change the internal name of a stored object, WARNING: This will break levels if used at editor time. If you want to change a custom name for an object use setStoredCustomName instead. Parameters: index An integer value name A string value Example: 1obj.setStoredName(index, name)

getStoredTag

Platform Compatibility PC Mac OSX Oculus Quest X X X Get the tag from a stored object Parameters: index An integer value returns a String (text) value Example: 1obj.getStoredTag(index)

getStoredName

Platform Compatibility PC Mac OSX Oculus Quest X X X Get the internal name from a stored object Parameters: index An integer value returns a String (text) value Example: 1obj.getStoredName(index)