A Demo Project for the UnrealEngineSDK
Loading...
Searching...
No Matches
PixoVRLongHoldComponent.h File Reference
#include "CoreMinimal.h"
#include "PixoVRLongHoldComponent.generated.h"
Include dependency graph for PixoVRLongHoldComponent.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  UPixoVRLongHoldComponent
 Component for handling long hold functionality in PixoVR. Allows execution of a function when a button is held down for a specified duration. More...
 

Enumerations

enum class  EHoldingState : uint8 { NONE = 0 , BUTTON_DOWN = 1 << 0 , BUTTON_HOLD = 1 << 1 , RELEASED = 1 << 2 }
 UENUM(BlueprintType) More...
 

Functions

 DECLARE_DYNAMIC_DELEGATE (FOnLongHoldReleased)
 
 DECLARE_DYNAMIC_DELEGATE (FOnShortPressReleased)
 

Enumeration Type Documentation

◆ EHoldingState

enum class EHoldingState : uint8
strongBlueprintType

UENUM(BlueprintType)

Enumerates the holding states for the UPixoVRLongHoldComponent.

Enumerator
NONE 

No holding state.

BUTTON_DOWN 

Button is pressed down.

BUTTON_HOLD 

Button is being held.

RELEASED 

Button is released.

Definition at line 18 of file PixoVRLongHoldComponent.h.

Function Documentation

◆ DECLARE_DYNAMIC_DELEGATE() [1/2]

DECLARE_DYNAMIC_DELEGATE ( FOnLongHoldReleased )

◆ DECLARE_DYNAMIC_DELEGATE() [2/2]

DECLARE_DYNAMIC_DELEGATE ( FOnShortPressReleased )