Legacy Documentation: Version 4.5.0

Script language:

  • JS
  • C#
  • Boo
Script language

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

Renderer.lightProbeAnchor

Switch to Manual
var lightProbeAnchor: Transform;
Transform lightProbeAnchor;
lightProbeAnchor as Transform

Description

If set, Renderer will use this Transform's position to find the interpolated light probe.

Otherwise the center of Renderer's AABB will be used.