class TReflectionProbeGetters

template<typename Derived, bool IsRenderProxy>

CRTP getter interface providing shared read access for reflection probe data to both ReflectionProbe and render::ReflectionProbeProxy.

Public

Methods

GetType

ReflectionProbeType GetType() const

Determines the type of the probe.

GetRadius

float GetRadius() const

Returns the radius of a sphere reflection probe (unscaled).

GetExtents

const Vector3 &GetExtents() const

Returns the extents of a box reflection probe (unscaled).

GetBounds

Sphere GetBounds() const

Returns world space bounds that completely encompass the probe's area of influence.

GetTransitionDistance

float GetTransitionDistance() const

Determines a distance that will be used for fading out the box reflection probe with distance.

By default it is equal to one, and can never be less than one. Only relevant for box probes.

GetFilteredTexture

const SPtr<TextureType> &GetFilteredTexture() const

Returns a pre-filtered texture that is generated either from the provided custom texture, or from scene capture.

Private

Methods

GetData

const TReflectionProbeData<IsRenderProxy> &GetData() const