ACameraActor

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

Choose your operating system:

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.