Scripting

Search The Documentation:

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

lightCookieScale

Platform Compatibility

PC Mac OSX Oculus Quest
X X

Get the size of the cookie texture on a directional light (does not work for other lights)

Parameters:

  • index Optional
    • An integer value

returns a Float (decimal number) value

Example:

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

How can we help?