| UObjectBase
|
Module |
|
Header |
/Engine/Source/Editor/VREditor/Public/VREditorInteractor.h |
Include |
#include "VREditorInteractor.h" |
class UVREditorInteractor : public UViewportInteractor
VREditor default interactor
Name | Description | ||
---|---|---|---|
|
bFlickActionExecuted |
Whether a flick action was executed |
|
|
bForceShowLaser |
Forcing to show laser |
|
|
bHasTriggerBeenReleasedSinceLastPress |
True if trigger has been fully released since the last press |
|
|
bIsPressingTrackpad |
True if pressing trackpad button (or analog stick button is down) |
|
|
bIsScrubbingSequence |
Whether or not this controller is being used to scrub sequencer |
|
|
bIsTouchingTrackpad |
Trackpad supportTrue if the trackpad is actively being touched |
|
|
bool[2] |
bIsTrackpadPositionValid |
True if we have a valid trackpad position (for each axis) |
|
bIsTriggerFullyPressed |
Trigger axis stateTrue if trigger is fully pressed right now (or within some small threshold) |
|
|
bIsTriggerPressed |
True if the trigger is currently pulled far enough that we consider it in a "half pressed" state |
|
|
bIsUndoRedoSwipeEnabled |
Whether swiping left/right on touchpad/joystick triggers undo/redo |
|
|
bWantHelpLabels |
True if we want help labels to be visible right now, otherwise false |
|
|
ControllerMotionSource |
HelpRight or left hand |
|
|
ForceLaserColor |
The color that will be used for one frame |
|
|
HandMeshComponent |
GraphicsAccess to the current handmesh. |
|
|
HelpLabels |
Help labels for buttons on the motion controllers |
|
|
HelpLabelShowOrHideStartTime |
Time that we either started showing or hiding help labels (for fade transitions) |
|
|
InitialTouchPosition |
SwipeInitial position when starting to touch the trackpad |
|
|
LastActiveTrackpadUpdateTime |
Real time that the last trackpad position was over the dead zone threshold. |
|
|
LastSwipe |
Latest swipe direction on the trackpad |
|
|
LastTrackpadPosition |
Last position of the touched trackpad |
|
|
LastTrackpadPositionUpdateTime |
Real time that the last trackpad position was last updated. Used to filter out stale previous data. |
|
|
MotionControllerComponent |
Motion controller component which handles late-frame transform updates of all parented sub-components |
|
|
TrackpadPosition |
Position of the touched trackpad |
|
|
UVREditorMode &... |
VRMode |
The mode that owns this interactor |
Name | Description | |
---|---|---|
|
UVREditorInteractor() |
Default constructor |
Name | Description | ||
---|---|---|---|
|
GetControllerHandSide() |
Sets the EControllerHand for this motioncontroller |
|
|
EControllerH... |
GetControllerSide() |
Get the side of the controller |
|
EControllerT... |
GetControllerType() |
Returns what controller type this is for asymmetric control schemes |
|
GetHMDDeviceType() |
||
|
const TMap< ... |
GetKeyToActionMap() |
Gets the key-to-action map (const) |
|
const FVecto... |
GetLaserEnd() |
|
|
const FVecto... |
GetLaserStart() |
Getters and setters |
|
GetLastActiveTrackpadUpdateTime() |
Get when the last time the trackpad position was updated |
|
|
UWidgetCompo... |
GetLastHoveredWidgetComponent() |
Gets the current hovered widget component if any |
|
GetLastTrackpadPosition() |
Get the last position of the trackpad or analog stick |
|
|
GetLastTrackpadPositionUpdateTime() |
Get when the last time the trackpad position was updated |
|
|
double |
GetLastUIPressTime() |
Gets last time the interactor pressed on UI |
|
UMotionContr... |
GetMotionControllerComponent() |
Get the motioncontroller component of this interactor |
|
float |
GetSelectAndMoveTriggerValue() |
Gets the trigger value |
|
float |
GetSlideDelta() |
Returns the slide delta for pushing and pulling objects. |
|
AVREditorTel... |
GetTeleportActor() |
|
|
GetTrackpadPosition() |
Get the current position of the trackpad or analog stick |
|
|
float |
GetTrackpadSlideDelta ( |
Trackpad Gets the trackpad delta of the axis passed. |
|
float |
GetUIScrollVelocity() |
Gets the UI scroll velocity |
|
UVREditorMod... |
GetVRMode() |
Gets the owner of this system |
|
const UVREdi... |
GetVRMode() |
Gets the owner of this system (const) |
|
HasUIOnForearm() |
Check if the quick menu is on this interactor |
|
|
Init ( |
Initialize default values |
|
|
IsCarrying() |
Tells us if thie interator is carrying a "carryable" actor, like a camera, which matches the interactor motions instead of using manipulators. |
|
|
IsClickingOnUI() |
Gets if the interactor is clicking on any UI |
|
|
IsHoveringOverUI() |
Gets if this interactor is hovering over UI |
|
|
IsRightClickingOnUI() |
Gets if the interactor is right clicking on UI |
|
|
IsScrubbingSequencer() |
Returns whether or not this controller is being used to scrub sequencer |
|
|
IsTouchingTrackpad() |
Check if the touchpad is currently touched |
|
|
IsTrackpadPositionValid ( |
If the trackpad values are valid |
|
|
ReplaceHandMeshComponent ( |
Replace the default VR controller mesh with a custom one. |
|
|
ResetTrackpad() |
Resets all the trackpad related values to default. |
|
|
SetControllerHandSide ( |
Sets the EControllerHand for this motioncontroller |
|
|
SetControllerType ( |
Set what controller type this is for asymmetric control schemes |
|
|
SetForceLaserColor ( |
Next frame this will be used as color for the laser |
|
|
SetForceShowLaser ( |
Set if we want to force to show the laser |
|
|
SetHasUIOnForearm ( |
Sets if the quick menu is on this interactor |
|
|
SetIsClickingOnUI ( |
Sets if the interactor is clicking on any UI |
|
|
SetIsHoveringOverUI ( |
Sets if the interactor is hovering over any UI |
|
|
SetIsRightClickingOnUI ( |
Sets if the interactor is right hover over any UI |
|
|
SetLastHoveredWidgetComponent ( |
Sets the current hovered widget component |
|
|
SetLastUIPressTime ( |
Sets the time the interactor last pressed on UI |
|
|
SetUIScrollVelocity ( |
Sets the UI scroll velocity |
|
|
SetupComponent ( |
Sets up all components |
|
|
Shutdown_Implementation() |
||
|
Tick_Implementation ( |
||
|
ToggleSequencerScrubbingMode() |
Toggles whether or not this controller is being used to scrub sequencer |
|
|
TryOverrideControllerType ( |
Temporary set what controller type this is for asymmetric control schemes. |
Name | Description | ||
---|---|---|---|
|
CalculateDragRay ( |
Needs to be implemented by the base to calculate drag ray length and the velocity for the ray |
|
|
GetHitResultFromLaserPointer |
Traces along the laser pointer vector and returns what it first hits in the world |
|
|
GetIsLaserBlocked() |
ViewportInteractor overrides, checks if the laser is blocked by UI |
|
|
GetTransformAndForwardVector ( |
Creates a hand transform and forward vector for a laser pointer for a given hand |
|
|
HandleInputAxis ( |
To be overridden. Called by HandleInputAxis before delegates and default input implementation |
|
|
HandleInputKey ( |
To be overridden. Called by HandleInputKey before delegates and default input implementation |
|
|
IsModifierPressed() |
||
|
PlayHapticEffect ( |
Starts haptic feedback for physical motion controller |
|
|
PollInput() |
Polls input for the motion controllers transforms |
|
|
PreviewInputKey ( |
To be overridden. Called by HandleInputKey before delegates and default input implementation |
|
|
ResetHoverState() |
Reset the values before checking the hover actions |
Name |
Description |
---|---|
MotionController_Left_FullyPressedTriggerAxis |
|
MotionController_Left_PressedTriggerAxis |
|
MotionController_Right_FullyPressedTriggerAxis |
|
MotionController_Right_PressedTriggerAxis |
|
TrackpadPositionX |
Special key action names for motion controllers. |
TrackpadPositionY |
|
TriggerAxis |