Scripting

Search The Documentation:

  1. Home
  2. Docs
  3. Scripting
  4. GameState
  5. setFogEnd

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:

1
obj.setFogEnd(distance)
Tags
Was this article helpful to you? Yes No

How can we help?