Module |
|
Header |
/Engine/Plugins/Lumin/MagicLeapLightEstimation/Source/MagicLeapLightEstimation/Public/MagicLeapLightEstimationFunctionLibrary.h |
Include |
#include "MagicLeapLightEstimationFunctionLibrary.h" |
Source |
/Engine/Plugins/Lumin/MagicLeapLightEstimation/Source/MagicLeapLightEstimation/Private/MagicLeapLightEstimationFunctionLibrary.cpp |
[UFUNCTION](Programming/UnrealArchitecture/Reference/Functions)(BlueprintCallable, Category="LightEstimation Function Library | MagicLeap")
static bool GetAmbientGlobalState
(
FMagicLeapLightEstimationAmbientGlobalState & GlobalAmbientState
)
Gets information about the ambient light sensor global state.
Capturing images or video will stop the lighting information update, causing the retrieved data to be stale (old timestamps).
true if the global ambient state was succesfully retrieved.
Parameter |
Description |
---|---|
GlobalAmbientState |
Output param containing the information about the global lighting state (ambient intensity). Valid only if return value of function is true. |