Navigation
API > API/Plugins > API/Plugins/GameplayCameras > API/Plugins/GameplayCameras/GameFramework
Inheritance Hierarchy
- USceneComponent
- UGameplayCameraComponent
References
| Module | GameplayCameras |
| Header | /Engine/Plugins/Cameras/GameplayCameras/Source/GameplayCameras/Public/GameFramework/GameplayCameraComponent.h |
| Include | #include "GameFramework/GameplayCameraComponent.h" |
Syntax
UCLASS (BlueprintType, MinimalAPI, ClassGroup=Camera, HideCategories=(Mobility, Rendering, LOD))
class UGameplayCameraComponent : public USceneComponent
Remarks
A component that can run a camera asset inside its own camera evaluation context.
Variables
| Type | Name | Description | |
|---|---|---|---|
| TObjectPtr< UCameraAsset > | Camera | ||
| TObjectPtr< UGameplayCameraComponentEvaluationContext > | EvaluationContext | ||
| TObjectPtr< UStaticMesh > | PreviewMesh | ||
| TObjectPtr< UStaticMeshComponent > | PreviewMeshComponent |
Constructors
| Type | Name | Description | |
|---|---|---|---|
UGameplayCameraComponent
(
const FObjectInitializer& ObjectInit |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | ActivateCamera
(
int32 PlayerIndex |
||
| void | OnComponentDestroyed
(
bool bDestroyingHierarchy |
||
| void | OnRegister () |
||
| void | TickComponent
(
float DeltaTime, |