Version: 5.4 beta (switch to 5.3)
LanguageEnglish
  • C#
  • JS

Script language

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

BoundingBoxMode

enumeration

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Sumbission failed

For some reason your suggested change could not be submitted. Please try again in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Switch to Manual

Description

The bounding box mode for generating a grid of interpolated light probes.

Variables

AutomaticLocalThe bounding box will enclose the current Renderer and all the Renderers down the hierarchy that have Light Probes property set to Use Proxy Volume. The interpolated probe positions will be generated in the local- space of the Renderer inside the resulting bounding box. If a Renderer component isn’t attached to the game object then a default bounding box will be generated.
AutomaticWorldA bounding box is computed which encloses the current Renderer and all the Renderers down the hierarchy that have the Light Probes property set to Use Proxy Volume. The bounding box will be world-space aligned.
CustomA custom local-space bounding box is used. The user will be able to edit the bounding box.