Navigation
API > API/Plugins > API/Plugins/VCamCore
A gameplay view target policy determines which player controller should change its view target when gameplay is started, e.g. PIE or in shipped games.
Some output providers, such as pixel streaming, require the view target to be set to the cine camera
| Name | UGameplayViewTargetPolicy |
| Type | class |
| Header File | /Engine/Plugins/VirtualProduction/VirtualCameraCore/Source/VCamCore/Public/Output/ViewTargetPolicy/GameplayViewTargetPolicy.h |
| Include Path | #include "Output/ViewTargetPolicy/GameplayViewTargetPolicy.h" |
Syntax
UCLASS (Abstract, Blueprintable, EditInlineNew)
class UGameplayViewTargetPolicy : public UObject
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UGameplayViewTargetPolicy
Derived Classes
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TArray< APlayerController * > DeterminePlayerControllers
(
const FDeterminePlayerControllersTargetPolicyParams& Params |
Called when the policy should be applied: when the output provider's activation changes in a game world. | Output/ViewTargetPolicy/GameplayViewTargetPolicy.h |
|
void UpdateViewTarget
(
const FUpdateViewTargetPolicyParams& Params |
Called to just after the view target has been updated for the player controller that was previously returned by DeterminePlayerController. | Output/ViewTargetPolicy/GameplayViewTargetPolicy.h |