Legacy Documentation: Version 2017.1 (Go to current version)
LanguageEnglish
  • C#
  • JS

Script language

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

Experimental: this API is experimental and might be changed or removed in the future.

VisibleReflectionProbe

struct in UnityEngine.Experimental.Rendering

Description

Holds data of a visible reflection probe.

After CullResults.Cull is done, CullResults.visibleReflectionProbes will contain an array of reflection probes that are visible. The visible reflection probe structure contains packed information for most commonly used ReflectionProbe variables, and a VisibleReflectionProbe.probe reference to the component itself.

See Also: CullResults.visibleReflectionProbes, ReflectionProbe.

Variables

blendDistanceProbe blending distance.
boundsProbe bounding box.
boxProjectionShould probe use box projection.
centerProbe projection center.
hdrShader data for probe HDR texture decoding.
importanceProbe importance.
localToWorldProbe transformation matrix.
probeAccessor to ReflectionProbe component.
textureProbe texture.

Did you find this page useful? Please give it a rating: