get3DTextOffset
Platform Compatibility PC Mac OSX Oculus Quest X X X Get the text object offset Parameters: index Optional An integer value returns a String (text) value Example: 1obj.get3DTextOffset(index)
McMaster University Virtual Reality Simulation and Research
Articles for coding in Artspark
Platform Compatibility PC Mac OSX Oculus Quest X X X Get the text object offset Parameters: index Optional An integer value returns a String (text) value Example: 1obj.get3DTextOffset(index)
Platform Compatibility PC Mac OSX Oculus Quest X X X Get the text Parameters: index Optional An integer value returns a String (text) value Example: 1obj.get3DText(index)
Platform Compatibility PC Mac OSX Oculus Quest X X X Set a color on text object Parameters: color A string value index Optional An integer value Example: 1obj.set3DTextColor(color, index)
Platform Compatibility PC Mac OSX Oculus Quest X X X Set a size on text object Parameters: size An integer value index Optional An integer value Example: 1obj.set3DTextSize(size, index)
Platform Compatibility PC Mac OSX Oculus Quest X X X What position offset from parent for a text object? Parameters: pos A string value index Optional An integer value Example: 1obj.set3DTextOffset(pos, index)
Platform Compatibility PC Mac OSX Oculus Quest X X X Set the text on an object or self, which by default floats above the object Parameters: text A string value index Optional An integer value Example: 1obj.set3DText(text, index)
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: 1obj.floatingText(text, position, type = 2)
Platform Compatibility PC Mac OSX Oculus Quest X X X Join together multiple strings, up to 9 total (eg: Vector3) Parameters: a A string value b A string value c…etc. Optional A string value returns a String (text) value Example: 1obj.joinString(a, b, c)
Platform Compatibility PC Mac OSX Oculus Quest X X X Return repetition of the string Parameters: input A string value multBy An integer value returns a String (text) value Example: 1obj.multiplyString(input, multBy)
Platform Compatibility PC Mac OSX Oculus Quest X X X Return part of the string, negative to start from right side Parameters: input A string value divideBy An integer value returns a String (text) value Example: 1obj.divideString(input, divideBy)