noise2D
Platform Compatibility PC Mac OSX Oculus Quest X X X 2D Perlin Noise (returns -1 to 1) Parameters: x A float value y A float value returns a Float (decimal number) value Example: 1obj.noise2D(x, y)
McMaster University Virtual Reality Simulation and Research
Articles for coding in Artspark
Platform Compatibility PC Mac OSX Oculus Quest X X X 2D Perlin Noise (returns -1 to 1) Parameters: x A float value y A float value returns a Float (decimal number) value Example: 1obj.noise2D(x, y)
Platform Compatibility PC Mac OSX Oculus Quest X X X 1D Perlin Noise (returns -1 to 1) Parameters: x A float value returns a Float (decimal number) value Example: 1obj.noise(x)
Platform Compatibility PC Mac OSX Oculus Quest X X X Change the texture on an object every few seconds, looping between a number of pictures forever. 12345678910111213141516171819202122232425–The base picture name picturename = "picture" –The time between picture changes slideTime = 3 –The number of pictures maxslides = 3 –The current picture slide = 1 –Load … Read more Picture Slideshow
Platform Compatibility PC Mac OSX Oculus Quest X – X Get if the default VR grab mode is on or not returns a Boolean (true or false) value Example: 1obj.getDefaultVRGrab()
Platform Compatibility PC Mac OSX Oculus Quest X – X Set if default VR grab mode is on or off Parameters: _tf A boolean value Example: 1obj.enableDefaultVRGrab(_tf)
Platform Compatibility PC Mac OSX Oculus Quest X – X Manually set if the object is grabbed by a hand. Hand: Main Secondary Left Right Parameters: hand A string value _tf A boolean value Example: 1obj.setGrabbed(hand, _tf)
Platform Compatibility PC Mac OSX Oculus Quest X – X Get if VR body is visible returns a Boolean (true or false) value Example: 1obj.getBodyVisible()
Platform Compatibility PC Mac OSX Oculus Quest X – X Show or hide the VR body Parameters: _tf A boolean value Example: 1obj.setBodyVisible(_tf)
Platform Compatibility PC Mac OSX Oculus Quest X – X Get if VR hands are visible returns a Boolean (true or false) value Example: 1obj.getHandsVisible()
Platform Compatibility PC Mac OSX Oculus Quest X – X Show or hide the VR hands Parameters: _tf A boolean value Example: 1obj.setHandsVisible(_tf)