Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


GetClosestReflectionProbes(List<ReflectionProbeBlendInfo>)

Fills the list with reflection probes whose AABB intersects with terrain's AABB. Their weights are also provided. Weight shows how much influence the probe has on the terrain, and is used when the blending between multiple reflection probes occurs.
Read time 1 minuteLast updated 4 days ago

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.TerrainModule
public void GetClosestReflectionProbes(List<ReflectionProbeBlendInfo> result)

Parameters

[in / out] A list to hold the returned reflection probes and their weights. See ReflectionProbeBlendInfo.

Remarks

This function won't touch
result
if _reflectionProbeUsage is ReflectionProbeUsage.Off, otherwise the original content of the list will be cleared.