struct TReflectionProbeData

template<bool IsRenderProxy>

Common data used by both main and render thread variants of ReflectionProbe.

Public

Methods

ComputeBounds

void ComputeBounds(const Transform &transform)

Computes the world space bounding sphere for a reflection probe and updates the Bounds field.

Fields

Type

Type of probe that determines how are the rest of the parameters interpreted.

Radius

float Radius

Radius used for sphere reflection probes.

Extents

Vector3 Extents

Extents used by box reflection probe.

TransitionDistance

float TransitionDistance

Extra distance to used for fading out box probes.

Bounds

Sphere Bounds

Sphere that bounds the probe area of influence.

FilteredTexture

SPtr<TextureType> FilteredTexture

Pre-filtered texture generated from custom texture or scene capture.