VisibleReflectionProbe
Holds data of a visible reflection reflectionProbe.
Read time 1 minuteLast updated 4 days ago
Definition
- Type: Struct
- Namespace: UnityEngine.Rendering
- Assembly: UnityEngine.CoreModule
- Implements: IEquatable<VisibleReflectionProbe>
public struct VisibleReflectionProbe : IEquatable<VisibleReflectionProbe>
Remarks
After ScriptableRenderContext.Cull is done, CullingResults.visibleReflectionProbes will contain an array of reflection reflectionProbes that are visible. The visible reflection reflectionProbe structure contains packed information for most commonly used ReflectionProbe variables, and a probe reference to the component itself.
Additional Resources: CullingResults.visibleReflectionProbes, ReflectionProbe.
Properties
Property | Description |
|---|---|
| blendDistance | Probe blending distance. |
| bounds | The probe's world space axis-aligned bounding box in which the probe can contribute to reflections. |
| center | The center of the probe's bounding box in which the probe can contribute to reflections. The center is relative to the position of the probe. |
| hdrData | Shader data for probe HDR texture decoding. |
| importance | Probe importance. |
| isBoxProjection | Should probe use box projection. |
| localToWorldMatrix | Probe transformation matrix. |
| reflectionProbe | Accessor to ReflectionProbe component. |
| texture | Probe texture. |