UVirtualCameraMovementComponent::AddInputVectorFromController

Adds the given vector to the accumulated input in world space.

Choose your operating system:

Windows

macOS

Linux

References

Module

VirtualCamera

Header

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

Include

#include "VirtualCameraMovementComponent.h"

Source

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

Syntax

void AddInputVectorFromController
(
    FVector WorldVector,
    EVirtualCameraAxis MovementScaleAxis
)

Remarks

Adds the given vector to the accumulated input in world space. Similar to AddInputVector(). This calls input scaling specific to how controller (joystick) input should be handled.

Parameters

Parameter

Description

WorldVector

Direction in world space to apply input.

MovementScaleAxis

Which axis movement scale to use.