TriggerPressedThreshold_Rift
TriggerPressedThreshold_Rift
#Overview
name: TriggerPressedThreshold_Rift
The value of this variable can be defined or overridden in .ini config files. 1
.ini config file referencing this setting variable.
It is referenced in 2
C++ source files.
#Summary
#Setting Variables
#References In INI files
Location: <Workspace>/Engine/Config/BaseEditorSettings.ini:64, section: [/Script/VREditor.VRModeSettings]
- INI Section:
/Script/VREditor.VRModeSettings
- Raw value:
0.500000
- Is Array:
False
#References in C++ code
#Callsites
This variable is referenced in the following C++ source code:
#Loc: <Workspace>/Engine/Source/Editor/VREditor/Private/VREditorInteractor.cpp:1004
Scope (from outer to inner):
file
function void UVREditorInteractor::HandleInputAxis
Source code excerpt:
if (!bOutWasHandled && Action.ActionType == TriggerAxis)
{
const float TriggerPressedThreshold = (HmdDeviceType == OculusDeviceType) ? GetDefault<UVRModeSettings>()->TriggerPressedThreshold_Rift : GetDefault<UVRModeSettings>()->TriggerPressedThreshold_Vive;
const float TriggerDeadZone = (HmdDeviceType == OculusDeviceType) ? VREd::TriggerDeadZone_Rift->GetFloat() : VREd::TriggerDeadZone_Vive->GetFloat();
// Synthesize "lightly pressed" events for the trigger
{
// Store latest trigger value amount
SelectAndMoveTriggerValue = Delta;
#Loc: <Workspace>/Engine/Source/Editor/VREditor/Public/VRModeSettings.h:79
Scope (from outer to inner):
file
class class UVRModeSettings : public UVISettings
Source code excerpt:
/** The amount (between 0-1) you have to depress the Oculus Touch controller trigger to register a press */
UPROPERTY(EditAnywhere, config, Category = "Motion Controllers", meta = (DisplayName = "Trigger Pressed Threshold (Oculus Touch)", ClampMin = 0.01, ClampMax = 1.0))
float TriggerPressedThreshold_Rift;
UE_DEPRECATED(5.1, "Refer to UVREditorMode::InteractorClass, or create a derived mode to override the interactor class.")
UPROPERTY(meta = (DeprecatedProperty, DeprecationMessage = "Refer to UVREditorMode::InteractorClass, or create a derived mode to override the interactor class."))
TSoftClassPtr<UVREditorInteractor> InteractorClass;
UE_DEPRECATED(5.1, "Refer to UVREditorMode::TeleporterClass, or create a derived mode to override the teleporter class.")