FEditorCameraController

[FEditorCameraController](API\Editor\UnrealEd\FEditorCameraController)

Windows
MacOS
Linux

References

Module

UnrealEd

Header

/Engine/Source/Editor/UnrealEd/Public/CameraController.h

Include

#include "CameraController.h"

Syntax

class FEditorCameraController

Remarks

FEditorCameraController

An interactive camera movement system. Supports simple physics-based animation.

Constructors

Name Description

Public function

FEditorCameraController()

Constructor

Destructors

Name Description

Public function Virtual

~FEditorCameraController()

Functions

Name Description

Public function

FCameraContr...

 

AccessConfig()

Access the configuration for this camera. Making changes is allowed.

Public function

FCameraContr...

 

GetConfig()

Returns the configuration of this camera controller

Public function Const

bool

 

IsRotating()

True if this camera currently has rotational velocity

Public function

void

 

SetConfig

(
    const FCameraControllerConfig& InC...
)

Sets the configuration for this camera controller

Public function Virtual

void

 

UpdateSimulation

(
    const FCameraControllerUserImpulseD...,
    const float DeltaTime,
    const bool bAllowRecoilIfNoImpulse,
    const float MovementSpeedScale,
    FVector& InOutCameraPosition,
    FVector& InOutCameraEuler,
    float& InOutCameraFOV
)

Updates the position and orientation of the camera as well as other state (like velocity.) Should be called every frame.

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