Navigation
API > API/Plugins > API/Plugins/VCamCore > API/Plugins/VCamCore/UI
Inheritance Hierarchy
- UObject
- UVisual
- UWidget
- UUserWidget
- UVCamWidget
- UVCamStateSwitcherWidget
References
| Module | VCamCore |
| Header | /Engine/Plugins/VirtualProduction/VirtualCameraCore/Source/VCamCore/Public/UI/VCamWidget.h |
| Include | #include "UI/VCamWidget.h" |
Syntax
UCLASS (Abstract)
class UVCamWidget : public UUserWidget
Remarks
A wrapper widget class that contains a set of VCam Connections
If you add a widget deriving from UVCamWidget to an Overlay Widget for a VCam Output Provider then when the Overlay is created by the Provider it will also call InitializeConnections with the owning VCam Component.
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bRegisterForInput | Determines whether this widget will be automatically registered to receive input when the connections are initialized | |
| TMap< FName, FVCamConnection > | Connections | The VCam Connections associated with this Widget | |
| int32 | InputContextPriority | If this widget is registered for input then this property defines the priority that the input mapping context is added at | |
| TObjectPtr< UInputMappingContext > | InputMappingContext | If this widget is registered for input then this input mapping context will be added to the input system | |
| FConnectionsReinitializedDelegate | OnPostConnectionsReinitializedDelegate | ||
| FConnectionsReinitializedDelegate_Blueprint | OnPostConnectionsReinitializedDelegate_Blueprint | Called when ReinitializeConnections is called. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
UVCamWidget
(
const FObjectInitializer& ObjectInitializer |
Functions
| Type | Name | Description | |
|---|---|---|---|
| TObjectPtr< UVCamComponent > | |||
| void | InitializeConnections
(
UVCamComponent* VCam |
Iterate all VCam Connections within the widget and attempt to connect them using the provided VCam Component Optionally registers for input with the VCam Component if requested | |
| void | OnConnectionUpdated
(
FName ConnectionName, |
Event called when a specific connection has been updated | |
| void | OnInitializeConnections
(
UVCamComponent* VCam |
||
| void | Event called after all connections have been initialized or reinitialized | ||
| bool | Attempts to use the cached VCam Component to initialize the connections Returns true if there was a valid VCam Component to initialize with | ||
| void | UpdateConnectionTargets
(
const TMap< FName, FVCamConnectionTargetSettings >& NewConnectionTargets, |
Looks through the set of Connections on this widget and if a matching connection name is found will attempt to update the connection target. |
Overridden from UUserWidget
| Type | Name | Description | |
|---|---|---|---|
| void | |||
| void |
Classes
| Type | Name | Description | |
|---|---|---|---|
| FConnectionsReinitializedDelegate_Blueprint |
Typedefs
| Name | Description |
|---|---|
| FConnectionsReinitializedDelegate |