Navigation
API > API/Plugins > API/Plugins/VCamCore > API/Plugins/VCamCore/UI > API/Plugins/VCamCore/UI/Switcher
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UVisual
- UWidget
- UUserWidget
- UVCamWidget
- UVCamStateSwitcherWidget
References
| Module | VCamCore |
| Header | /Engine/Plugins/Experimental/VirtualCameraCore/Source/VCamCore/Public/UI/Switcher/VCamStateSwitcherWidget.h |
| Include | #include "UI/Switcher/VCamStateSwitcherWidget.h" |
Syntax
UCLASS&40;&41;
class UVCamStateSwitcherWidget : public UVCamWidget
Remarks
A widget that has a set of states you can switch between using SetCurrentState. A state is a collection of VCamWidgets whose connections should be rebound to new connection points.
Functions
| Type | Name | Description | |
|---|---|---|---|
| FName | |||
| FName | |||
| bool | GetStateInfo
(
FName State, |
||
| TArray< FName > | GetStates () |
||
| void | K2_SetCurrentState
(
FName NewState |
||
| void | |||
| bool | SetCurrentState
(
FName NewState, |
Switches to given state - if the state transition is valid, UpdateConnectionTargets will be called. |
Overridden from UUserWidget
| Type | Name | Description | |
|---|---|---|---|
| void |
Overridden from UObject
| Type | Name | Description | |
|---|---|---|---|
| void | PostEditChangeProperty
(
FPropertyChangedEvent& PropertyChangedEvent |
Called when a property on this object has been modified externally |
Constants
| Name | Description |
|---|---|
| DefaultState |