Navigation
API > API/Plugins > API/Plugins/GameplayCameras > API/Plugins/GameplayCameras/GameFramework
Inheritance Hierarchy
- USceneComponent
- UGameplayCameraSystemComponent
References
| Module | GameplayCameras |
| Header | /Engine/Plugins/Cameras/GameplayCameras/Source/GameplayCameras/Public/GameFramework/GameplayCameraSystemComponent.h |
| Include | #include "GameFramework/GameplayCameraSystemComponent.h" |
Syntax
UCLASS (BlueprintType, MinimalAPI, ClassGroup=Camera, HideCategories=(Mobility, Rendering, LOD))
class UGameplayCameraSystemComponent : public USceneComponent
Remarks
A component that hosts a camera system.
Variables
| Type | Name | Description | |
|---|---|---|---|
| TEnumAsByte< EAutoReceiveInput::Type > | AutoActivateForPlayer | If AutoActivate is set, auto-activates the camera system for the given player. | |
| bool | bSetPlayerControllerRotation | If enabled, sets the evaluated camera orientation as the player controller rotation every frame. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
UGameplayCameraSystemComponent
(
const FObjectInitializer& ObjectInit |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | ActivateCameraSystemForPlayerController
(
APlayerController* PlayerController |
Sets this component's actor as the view target for the given player. | |
| void | ActivateCameraSystemForPlayerIndex
(
int32 PlayerIndex |
Sets this component's actor as the view target for the given player. | |
| void | BeginPlay () |
||
| void | DeactivateCameraSystem
(
AActor* NextViewTarget |
Removes this component's actor from being the view target. | |
| void | EndPlay
(
const EEndPlayReason::Type EndPlayReason |
||
| TSharedPtr< FCameraSystemEvaluator > | GetCameraSystemEvaluator
(
bool bEnsureIfNull |
Gets the camera system evaluator. | |
| void | GetCameraView
(
float DeltaTime, |
Updates the camera system and returns the computed view. | |
| bool | IsCameraSystemActiveForPlayController
(
APlayerController* PlayerController |
Returns whether this component's actor is set as the view target for the given player. | |
| void | Internal API. | ||
| void | OnComponentDestroyed
(
bool bDestroyingHierarchy |
||
| void | |||
| void | OnRegister () |
Typedefs
| Name | Description |
|---|---|
| FCameraSystemEvaluator |