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.

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback