Legacy Documentation: Version 2018.1 (Go to current version)
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

LightBakingOutput.probeOcclusionLightIndex

public int probeOcclusionLightIndex;

Description

In case of a LightmapBakeType.Mixed light, contains the index of the light as seen from the occlusion probes point of view if any, otherwise -1.

Did you find this page useful? Please give it a rating: