AVirtualCameraPlayerControllerBase::SetFocusDistanceToActor

Sets the focus distance to an object selected by the player based on touch input.

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

void SetFocusDistanceToActor
(
    const ETouchIndex::Type TouchIndex,
    const FVector & Location
)

Remarks

Sets the focus distance to an object selected by the player based on touch input.

Parameters

Parameter

Description

The index of the touch input that occurred

the location of the touch in screen space

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