LanguageEnglish
  • C#
  • JS

Script language

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

This version of Unity is unsupported.

LightmapEditorSettings.aoMaxDistance

public static float aoMaxDistance;

Description

Beyond this distance a ray is considered to be unoccluded.

Can be used to avoid full occlusion in closed Scenes.