Navigation
API > API/Plugins > API/Plugins/GameplayCameras > API/Plugins/GameplayCameras/GameFramework
Inheritance Hierarchy
- UObject
- UGameplayCameraSystemHost
References
| Module | GameplayCameras |
| Header | /Engine/Plugins/Cameras/GameplayCameras/Source/GameplayCameras/Public/GameFramework/GameplayCameraSystemHost.h |
| Include | #include "GameFramework/GameplayCameraSystemHost.h" |
Syntax
UCLASS (MinimalAPI)
class UGameplayCameraSystemHost : public UObject
Remarks
A class that hosts a camera system evaluator so that it can be accessed in a game world.
The host doesn't stay alive very long if nothing references it. Gameplay camera components and actors are meant to hold a reference to it while they use it. When nobody uses it, the host is meant to be collectable by the GC.
Constructors
| Type | Name | Description | |
|---|---|---|---|
UGameplayCameraSystemHost
(
const FObjectInitializer& ObjectInitializer |
Creates a new camera system host. |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | AddReferencedObjects
(
UObject* InThis, |
||
| void | BeginDestroy () |
||
| UGameplayCameraSystemHost * | FindHost
(
APlayerController* PlayerController, |
Finds a camera system host under the given player controller. | |
| UGameplayCameraSystemHost * | FindOrCreateHost
(
APlayerController* PlayerController, |
Finds a camera system host under the given player controller, or creates one if none was found. | |
| TSharedPtr< FCameraSystemEvaluator > | Gets the camera system evaluator. | ||
| APlayerController * | Get the player controller that this host is hooked up to. |
Typedefs
| Name | Description |
|---|---|
| FCameraSystemEvaluator |
Constants
| Name | Description |
|---|---|
| DefaultHostName | Default host name to use when creating a new host. |