UARBlueprintLibrary::GetCurrentLightEstimate

An AugmentedReality session can be configured to provide light estimates.

Choose your operating system:

Windows

macOS

Linux

References

Module

AugmentedReality

Header

/Engine/Source/Runtime/AugmentedReality/Public/ARBlueprintLibrary.h

Include

#include "ARBlueprintLibrary.h"

Source

/Engine/Source/Runtime/AugmentedReality/Private/ARBlueprintLibrary.cpp

Syntax

static UARLightEstimate * GetCurrentLightEstimate()

Remarks

An AugmentedReality session can be configured to provide light estimates. The specific approach to light estimation can be configured by the [UARSessionConfig](API\Runtime\AugmentedReality\UARSessionConfig)_ specified during StartARSession(). This function assumes that you will cast the returned `UARLightEstimate to a derived type corresponding to your session config.

Returns

a `UARLighEstimate_ that can be cast to a derived class.