⚠ Preview docs — built from the develop branch and may be unstable. Go to the stable docs.

Lighting.RequestSource

static void RequestSource(LightingSource source)

Requests a switch to a lighting source! Manual applies immediately, while World may show a permission dialog the user can decline, watch SourcePending and Source for the result.

   
LightingSource source The lighting source to switch to.




Found an issue with these docs, or have some additional questions? Create an Issue on Github!