Scripting

Search The Documentation:

  1. Home
  2. Docs
  3. Scripting
  4. Lights
  5. setLightShadow

setLightShadow

Platform Compatibility

PC Mac OSX Oculus Quest
X X X

Set light shadow mode (0 = off, 1 = hard, 2 = soft)

Parameters:

  • shadow Optional
    • An integer value
  • index Optional
    • An integer value

Example:

1
obj.setLightShadow(shadow, index)
Tags
Was this article helpful to you? Yes No

How can we help?