ACameraActor

A CameraActor is a camera viewpoint that can be placed in a level.

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Camera/CameraActor.h

Include

#include "Camera/CameraActor.h"

Syntax

class ACameraActor : public AActor

Remarks

A CameraActor is a camera viewpoint that can be placed in a level.

Variables

Name Description

Public variable

TWeakObjectPtr<...

 

PreviewedCameraAnim

If this CameraActor is being used to preview a CameraAnim in the editor, this is the anim being previewed.

Constructors

Name Description

Public function

ACameraActor

(
    const FObjectInitializer& ObjectIn...
)

Functions

Name Description

Public function Const

int32

 

GetAutoActivatePlayerIndex()

Returns index of the player for whom we auto-activate, or INDEX_NONE (-1) if disabled.

Public function Const

UCameraCompo...

 

GetCameraComponent()

Returns CameraComponent subobject

Public function Virtual

void

 

NotifyCameraCut()

Called to notify that this camera was cut to, so it can update things like interpolation if necessary.

Overridden from AActor

Name Description

Protected function Virtual

void

 

BeginPlay()

Overridable native event for when play begins for this actor.

Public function Virtual Const

USceneCompon...

 

GetDefaultAttachComponent()

Returns this actor's default attachment component for attaching children to

Overridden from UObject

Name Description

Public function Virtual

void

 

PostEditChangeProperty

(
    FPropertyChangedEvent& PropertyCha...
)

Called when a property on this object has been modified externally

Public function Virtual

void

 

PostLoadSubobjects

(
    FObjectInstancingGraph* OuterI...
)

Instances components for objects being loaded from disk, if necessary.

Public function Virtual

void

 

Serialize

(
    FArchive& Ar
)

Handles reading, writing, and reference collecting using FArchive.

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