AVirtualCameraPlayerControllerBase::GetCurrentTrackerLocationAndRotation

Get the current tracker location and rotation based on selected input method.

Windows
MacOS
Linux

References

Module

VirtualCamera

Header

/Engine/Plugins/Experimental/VirtualCamera/Source/VirtualCamera/Public/VirtualCameraPlayerControllerBase.h

Include

#include "VirtualCameraPlayerControllerBase.h"

Source

/Engine/Plugins/Experimental/VirtualCamera/Source/VirtualCamera/Private/VirtualCameraPlayerControllerBase.cpp

Syntax

bool GetCurrentTrackerLocationAndRotation
(
    FVector & OutTrackerLocation,
    FRotator & OutTrackerRotation
)

Remarks

Get the current tracker location and rotation based on selected input method.

Returns

true if getting the location/rotation was successful, false otherwise

Parameters

Parameter

Description

OutTrackerLocation

The current location of the tracker being used

OutTrackerRotation

The current rotation of the tracker being used

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