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(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 EndPlayReason
)

Cleans up the lighting tracking api.

Public function Virtual

void

 

TickComponent

(
    float DeltaTime,
    enum ELevelTick TickType,
    FActorComponentTickFunction* ThisTickFunction
)

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

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback