Navigation
API > API/Plugins > API/Plugins/VirtualCamera > API/Plugins/VirtualCamera/AVirtualCameraPlayerControllerBa-
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 |
void SetFocusDistanceToActor
&40;
const ETouchIndex::Type TouchIndex,
const FVector & Location
&41;
Remarks
Sets the focus distance to an object selected by the player based on touch input.
Parameters
| Name | Description |
|---|---|
| - | The index of the touch input that occurred |
| - | the location of the touch in screen space |