UMagicLeapLightingTrackingComponent

The LightingTrackingComponent wraps the Magic Leap lighting tracking API.

Windows
MacOS
Linux

Inheritance Hierarchy

UObjectBase

UObjectBaseUtility

UObject

UActorComponent

UMagicLeapLightingTrackingComponent

References

Module

MagicLeapLightEstimation

Header

/Engine/Plugins/Lumin/MagicLeapLightEstimation/Source/MagicLeapLightEstimation/Public/LightingTrackingComponent.h

Include

#include "LightingTrackingComponent.h"

Syntax

[UCLASS](Programming/UnrealArchitecture/Reference/Classes#classdeclaration)(ClassGroup=MagicLeap, BlueprintType, Blueprintable, EditInlineNew,
       Meta=(BlueprintSpawnableComponent))
class UMagicLeapLightingTrackingComponent : public UActorComponent

Remarks

The LightingTrackingComponent wraps the Magic Leap lighting tracking API. This api provides lumosity data from the camera that can be used to shade objects in a more realistic manner (via the post processor).

Variables

Name Description

Public variable UProperty Category, EditAnywhere BlueprintReadWrite

bool

 

UseColorTemp

Set to true if you want the color temperature value from the cameras to be used in post processing.

Public variable UProperty Category, EditAnywhere BlueprintReadWrite

bool

 

UseGlobalAmbience

Set to true if you want the global ambience value from the cameras to be used in post processing.

Constructors

Overridden from UActorComponent

Name Description

Public function Virtual

void

 

BeginPlay()

Intializes the lighting tracking api.

Public function Virtual

void

 

EndPlay

(
    const EEndPlayReason::Type EndPlayR...
)

Cleans up the lighting tracking api.

Public function Virtual

void

 

TickComponent

(
    float DeltaTime,
    enum ELevelTick TickType,
    FActorComponentTickFunction* T...
)

Polls for data from the camera array and processes it based on the active modes (UseGlobalAmbience, UseColorTemp, ...).

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss