Navigation
API > API/Runtime > API/Runtime/Engine
A CameraActor is a camera viewpoint that can be placed in a level.
| Name | ACameraActor |
| Type | class |
| Header File | /Engine/Source/Runtime/Engine/Classes/Camera/CameraActor.h |
| Include Path | #include "Camera/CameraActor.h" |
Syntax
UCLASS (ClassGroup=Common, HideCategories=(Input, Rendering),
ShowCategories=("Input|MouseInput", "Input|TouchInput"), Blueprintable, MinimalAPI)
class ACameraActor : public AActor
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → AActor → ACameraActor
Derived Classes
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
ACameraActor
(
const FObjectInitializer& ObjectInitializer |
Camera/CameraActor.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| AutoActivateForPlayer | TEnumAsByte< EAutoReceiveInput::Type > | Specifies which player controller, if any, should automatically use this Camera when the controller is active. | Camera/CameraActor.h |
|
| CameraComponent | TObjectPtr< class UCameraComponent > | The camera component for this camera | Camera/CameraActor.h |
|
| SceneComponent | TObjectPtr< class USceneComponent > | Camera/CameraActor.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
int32 GetAutoActivatePlayerIndex() |
Returns index of the player for whom we auto-activate, or INDEX_NONE (-1) if disabled. | Camera/CameraActor.h |
|
UCameraComponent * GetCameraComponent() |
Returns CameraComponent subobject | Camera/CameraActor.h | |
virtual void NotifyCameraCut () |
Called to notify that this camera was cut to, so it can update things like interpolation if necessary. | Camera/CameraActor.h |
Overridden from AActor
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual USceneComponent * GetDefaultAttachComponent() |
Returns this actor's default attachment component for attaching children to | Camera/CameraActor.h |
Overridden from UObject
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void PostLoadSubobjects
(
FObjectInstancingGraph* OuterInstanceGraph |
Camera/CameraActor.h | ||
virtual void Serialize
(
FArchive& Ar |
Camera/CameraActor.h |
Protected
Overridden from AActor
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void BeginPlay() |
Overridable native event for when play begins for this actor. | Camera/CameraActor.h |