UMagicLeapHMDFunctionLibrary::SetFocusActor

Set the actor whose location is used as the focus point.

Windows
MacOS
Linux

References

Module

MagicLeap

Header

/Engine/Plugins/Lumin/MagicLeap/Source/MagicLeap/Public/MagicLeapHMDFunctionLibrary.h

Include

#include "MagicLeapHMDFunctionLibrary.h"

Source

/Engine/Plugins/Lumin/MagicLeap/Source/MagicLeap/Private/MagicLeapHMDFunctionLibrary.cpp

Syntax

[UFUNCTION](Programming/UnrealArchitecture/Reference/Functions)(BlueprintCallable, Category="Rendering|MagicLeap")
static void SetFocusActor
(
    const AActor * InFocusActor,
    bool bSetStabilizationActor
)

Remarks

Set the actor whose location is used as the focus point. The focus distance is the distance from the HMD to the focus point.

Parameters

Parameter

Description

InFocusActor

The actor that will be set as the new focus actor.

bSetStabilizationActor

True if the function should set the stabilization depth actor to match the passed in focus actor. (RECOMMENDED TO STAY CHECKED)

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