Navigation
API > API/Plugins > API/Plugins/VCamCore > API/Plugins/VCamCore/Output > API/Plugins/VCamCore/Output/ViewTargetPolicy
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UGameplayViewTargetPolicy
- UFocusFirstPlayerViewTargetPolicy
References
| Module | VCamCore |
| Header | /Engine/Plugins/VirtualProduction/VirtualCameraCore/Source/VCamCore/Public/Output/ViewTargetPolicy/GameplayViewTargetPolicy.h |
| Include | #include "Output/ViewTargetPolicy/GameplayViewTargetPolicy.h" |
Syntax
UCLASS (Abstract, Blueprintable, EditInlineNew)
class UGameplayViewTargetPolicy : public UObject
Remarks
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
Functions
| Type | Name | Description | |
|---|---|---|---|
| TArray< APlayerController * > | DeterminePlayerControllers
(
const FDeterminePlayerControllersTargetPolicyParams& Params |
Called when the policy should be applied: when the output provider's activation changes in a game world. | |
| 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. |