Scripting

Search The Documentation:

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

setSunAngle

Platform Compatibility

PC Mac OSX Oculus Quest
X X X

Set the sun angle in X (or optionally X,Y,Z)

Parameters:

  • angle
    • A string value

Example:

1
obj.setSunAngle(angle)
Tags
Was this article helpful to you? Yes No

How can we help?