UMagicLeapMovementComponent::ChangeDepth

Changes the depth offset of the object from the user's headpose (3Dof) or pointing device (6Dof).

Windows
MacOS
Linux

References

Module

MagicLeapMovement

Header

/Engine/Plugins/Lumin/MagicLeapMovement/Source/Public/MagicLeapMovementComponent.h

Include

#include "MagicLeapMovementComponent.h"

Source

/Engine/Plugins/Lumin/MagicLeapMovement/Source/Private/MagicLeapMovementComponent.cpp

Syntax

[UFUNCTION](Programming/UnrealArchitecture/Reference/Functions)(BlueprintCallable, Category="Movement | MagicLeap")
bool ChangeDepth
(
    float DeltaDepth
)

Remarks

Changes the depth offset of the object from the user's headpose (3Dof) or pointing device (6Dof).

Returns

True if the depth was changed, false otherwise.

Parameters

Parameter

Description

DeltaDepth

The change in the depth offset in cm (can be negative).

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