Navigation
API > API/Plugins > API/Plugins/VirtualCamera
References
Module | VirtualCamera |
Header | /Engine/Plugins/Experimental/VirtualCamera/Source/VirtualCamera/Public/VirtualCameraSaveGame.h |
Include | #include "VirtualCameraSaveGame.h" |
Syntax
USTRUCT&40;&41;
struct FVirtualCameraAxisSettings
Remarks
Stores relevant information for an axis for the virtual camera pawn
Variables
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
bool | bIsFrozen | If an axis is frozen, then that frozen axis's movement will be disabled. |
![]() ![]() |
bool | bIsLocked | If an axis is locked, then that axis's movement will be disabled. |
![]() |
FVector | FreezeLocationOffset | |
![]() |
float | FreezeRotationOffset | The freeze offset associated with an axis |
![]() |
FVector | LockLocationOffset | |
![]() |
float | LockRotationOffset | The lock offset associated with an axis |
![]() ![]() |
float | MovementScale | The scale that a user's movement should be adjusted by in game |
![]() ![]() |
float | StabilizationScale | The amount of stabilization that can be applied to an axis |
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
Functions
Type | Name | Description | |
---|---|---|---|
![]() |
void | AddLocationOffset
(
const FVector InOffset |
Add an offset based on the freeze and lock states |
![]() |
void | AddRotationOffset
(
const float InOffset |
Add an offset based on the freeze and lock states |
![]() ![]() |
FVector | ||
![]() ![]() |
float | Get the current total offset applied to this axis | |
![]() ![]() |
bool | Helper method to check if an axis is prevented from moving. | |
![]() |
void | SetIsLocked
(
const bool bNewIsLocked |
Set the current lock state |
![]() |
bool | ToggleLock () |
Toggle the current lock state |