Navigation
API > API/Plugins > API/Plugins/VPUtilitiesEditor
Subsystem used for VR Scouting
| Name | UVPScoutingSubsystem |
| Type | class |
| Header File | /Engine/Plugins/Experimental/VirtualProductionUtilities/Source/VPUtilitiesEditor/Public/VPScoutingSubsystem.h |
| Include Path | #include "VPScoutingSubsystem.h" |
Syntax
UCLASS ()
class UVPScoutingSubsystem : public UEditorSubsystem
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → USubsystem → UDynamicSubsystem → UEditorSubsystem → UVPScoutingSubsystem
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UVPScoutingSubsystem() |
VPScoutingSubsystem.h |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| VProdPanelContextID | const FName | VPScoutingSubsystem.h | |
| VProdPanelGafferID | const FName | VPScoutingSubsystem.h | |
| VProdPanelID | const FName | Static IDs when submitting open/close requests for the VProd main menu panels. VREditorUISystem uses FNames to manage its panels, so these should be used for consistency. | VPScoutingSubsystem.h |
| VProdPanelLeftID | const FName | VPScoutingSubsystem.h | |
| VProdPanelMeasureID | const FName | VPScoutingSubsystem.h | |
| VProdPanelRightID | const FName | VPScoutingSubsystem.h | |
| VProdPanelTimelineID | const FName | VPScoutingSubsystem.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| GestureManager | TObjectPtr< UVPScoutingSubsystemGestureManagerBase > | GestureManager that manage some user input in VR editor. | VPScoutingSubsystem.h |
|
| GripNavSpeedCoeff | float | This is a multiplier for grip nav speed so we can keep the grip nav value in the range 0-1 and increase this variable if we need a bigger range | VPScoutingSubsystem.h |
|
| IsSettingsMenuOpen | bool | Bool to keep track of whether the settings menu panel in the main menu is open | VPScoutingSubsystem.h |
|
| VPSubsystemHelpers | TObjectPtr< UVPScoutingSubsystemHelpersBase > | Subsystems can't have any Blueprint implementations, so we attach this class for any BP logic that we to provide. | VPScoutingSubsystem.h |
|
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| EngineInitCompleteDelegate | FDelegateHandle | VPScoutingSubsystem.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void Deinitialize() |
VPScoutingSubsystem.h | ||
AVREditorFloatingUI * GetPanelActor
(
const FName& PanelID |
Get UI panel Actor from the passed ID | VPScoutingSubsystem.h |
|
UUserWidget * GetPanelWidget
(
const FName& PanelID |
Get UI panel widget from the passed ID | VPScoutingSubsystem.h |
|
void HideInfoDisplayPanel() |
Hide VR Sequencer Window | VPScoutingSubsystem.h |
|
virtual void Initialize
(
FSubsystemCollectionBase& Collection |
VPScoutingSubsystem.h | ||
bool IsVRScoutingUIOpen
(
const FName& PanelID |
Check whether a widget UI is open | VPScoutingSubsystem.h |
|
void ToggleVRScoutingUI
(
FVREditorFloatingUICreationContext& CreationContext |
Open a widget UI in front of the user. | VPScoutingSubsystem.h |
|
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static bool EnterVRMode() |
Enter VR Mode | VPScoutingSubsystem.h |
|
static void ExitVRMode() |
Exit VR Mode | VPScoutingSubsystem.h |
|
static TArray< UVREditorInteractor * > GetActiveEditorVRControllers() |
VPScoutingSubsystem.h |
|
|
static FString GetDirectorName() |
VPScoutingSubsystem.h |
|
|
static float GetFlightSpeed() |
Get flight speed for scouting in VR | VPScoutingSubsystem.h |
|
static float GetGripNavSpeed() |
Get grip nav speed for scouting in VR | VPScoutingSubsystem.h |
|
static FString GetShowName() |
VPScoutingSubsystem.h |
|
|
static const FName GetVProdPanelID
(
const EVProdPanelIDs Panel |
VPScoutingSubsystem.h |
|
|
static UVREditorMode * GetVREditorMode() |
Get VR Editor Mode object | VPScoutingSubsystem.h |
|
static bool IsHelperSystemEnabled() |
Whether the helper system on the controllers is enabled | VPScoutingSubsystem.h |
|
static bool IsLocationGridSnappingEnabled() |
Whether location grid snapping is enabled | VPScoutingSubsystem.h |
|
static bool IsRotationGridSnappingEnabled() |
Whether rotation grid snapping is enabled | VPScoutingSubsystem.h |
|
static bool IsUsingInertiaDamping() |
Whether grip nav inertia is enabled when scouting in VR | VPScoutingSubsystem.h |
|
static bool IsUsingMetricSystem() |
Whether the VR user wants to use the metric system instead of imperial | VPScoutingSubsystem.h |
|
static bool IsUsingTransformGizmo() |
Whether the VR user wants to have the transform gizmo enabled | VPScoutingSubsystem.h |
|
static void SetFlightSpeed
(
const float InFlightSpeed |
Set flight speed for scouting in VR | VPScoutingSubsystem.h |
|
static void SetGripNavSpeed
(
const float InGripNavSpeed |
Set grip nav speed for scouting in VR | VPScoutingSubsystem.h |
|
static void SetInertiaDampingCVar
(
const float InInertiaDamping |
Set value of cvar "VI.HighSpeedInertiaDamping" | VPScoutingSubsystem.h |
|
static void SetIsHelperSystemEnabled
(
const bool bInIsHelperSystemEnabled |
Set whether the helper system on the controllers is enabled | VPScoutingSubsystem.h |
|
static void SetIsUsingInertiaDamping
(
const bool bInIsUsingInertiaDamping |
Set whether grip nav inertia is enabled when scouting in VR | VPScoutingSubsystem.h |
|
static void SetIsUsingMetricSystem
(
const bool bInUseMetricSystem |
Set whether the VR user wants to use the metric system instead of imperial | VPScoutingSubsystem.h |
|
static void SetIsUsingTransformGizmo
(
const bool bInIsUsingTransformGizmo |
Set whether the VR user wants to have the transform gizmo enabled | VPScoutingSubsystem.h |
|
static void SetShowTransformGizmoCVar
(
const bool bInShowTransformGizmoCVar |
Set value of cvar "VI.ShowTransformGizmo" | VPScoutingSubsystem.h |
|
static void ToggleLocationGridSnapping() |
Toggle location grid snapping | VPScoutingSubsystem.h |
|
static void ToggleRotationGridSnapping() |
Toggle rotation grid snapping | VPScoutingSubsystem.h |
|