Navigation
API > API/Plugins > API/Plugins/VCamCore > API/Plugins/VCamCore/UVCamWidget
Description
Looks through the set of Connections on this widget and if a matching connection name is found will attempt to update the connection target. If the new target is the same as the old target then no update is performed. This function will optionally reinitialize the widget connections if 1 or more targets were updated.
Note: If a connection name in the NewConnectionTargets map is not found in the Widget Connections then it is ignored no new connections will be created and no connections will be removed
| Name | UpdateConnectionTargets |
| Type | function |
| Header File | /Engine/Plugins/VirtualProduction/VirtualCameraCore/Source/VCamCore/Public/UI/VCamWidget.h |
| Include Path | #include "UI/VCamWidget.h" |
| Source | /Engine/Plugins/VirtualProduction/VirtualCameraCore/Source/VCamCore/Private/UI/VCamWidget.cpp |
UFUNCTION (BlueprintCallable, Category="VCam Connections",
Meta=(ExpandEnumAsExecs="Result", bReinitializeOnSuccessfulUpdate=true))
void UpdateConnectionTargets
(
const TMap < FName , FVCamConnectionTargetSettings > & NewConnectionTargets,
const bool bReinitializeOnSuccessfulUpdate,
EConnectionUpdateResult & Result
)