setFogEnd
Platform Compatibility PC Mac OSX Oculus Quest X X X Set fog end distance away from the camera, this is where the fog will be darkest/most solid Parameters: distance Optional A float value Example: 1obj.setFogEnd(distance)
McMaster University Virtual Reality Simulation and Research
Articles for coding in Artspark
Platform Compatibility PC Mac OSX Oculus Quest X X X Set fog end distance away from the camera, this is where the fog will be darkest/most solid Parameters: distance Optional A float value Example: 1obj.setFogEnd(distance)
Platform Compatibility PC Mac OSX Oculus Quest X X X Get fog start distance away from the camera returns a Float (decimal number) value Example: 1obj.getFogStart()
Platform Compatibility PC Mac OSX Oculus Quest X X X Set fog start distance away from the camera Parameters: distance Optional A float value Example: 1obj.setFogStart(distance)
Platform Compatibility PC Mac OSX Oculus Quest X X X Set fog color in R,G,B or R,G,B,A Parameters: color A string value Example: 1obj.setFogColor(color)
Platform Compatibility PC Mac OSX Oculus Quest X X X Get fog on/off returns a Boolean (true or false) value Example: 1obj.getFog()
Platform Compatibility PC Mac OSX Oculus Quest X X X Set fog on/off Parameters: _tf A boolean value Example: 1obj.enableFog(_tf)
Platform Compatibility PC Mac OSX Oculus Quest X X X Get the sun shadow strength returns a Float (decimal number) value Example: 1obj.getSunShadowStrength()
Platform Compatibility PC Mac OSX Oculus Quest X X X Set the sun shadow strength (0f to 1f) Parameters: strength A float value Example: 1obj.setSunShadowStrength(strength)
Platform Compatibility PC Mac OSX Oculus Quest X X – Is player flying on or off? returns a Boolean (true or false) value Example: 1obj.getPlayerFly()
Platform Compatibility PC Mac OSX Oculus Quest X X – Set player flying on or off? Parameters: _tf A boolean value Example: 1obj.setPlayerFly(_tf)