A Demo Project for the UnrealEngineSDK
Loading...
Searching...
No Matches
PixoVRInteractionInterface.h
Go to the documentation of this file.
1// Copyright(c) Pixo Group. All Rights Reserved.
2
3#pragma once
4
5#include "CoreMinimal.h"
6#include "PixoVRInteractionInterface.generated.h"
7
8UINTERFACE(MinimalAPI)
10{
12};
13
17class PIXOCORE_API IPixoVRInteractionInterface
18{
19 GENERATED_BODY()
21public:
27 UFUNCTION(BlueprintNativeEvent, BlueprintCallable, Category = "PixoVR | Interaction")
28 void OnHoverBegin(const FHitResult& HitResult, APlayerController* Executor);
29
35 UFUNCTION(BlueprintNativeEvent, BlueprintCallable, Category = "PixoVR | Interaction")
36 void OnHoverEnd(const FHitResult& HitResult, APlayerController* Executor);
37
43 UFUNCTION(BlueprintNativeEvent, BlueprintCallable, Category = "PixoVR | Interaction")
44 void OnPressBegin(const FHitResult& HitResult, APlayerController* Executor);
45
51 UFUNCTION(BlueprintNativeEvent, BlueprintCallable, Category = "PixoVR | Interaction")
52 void OnPressEnd(const FHitResult& HitResult, APlayerController* Executor);
53
58 UFUNCTION(BlueprintNativeEvent, BlueprintCallable, Category = "PixoVR | Interaction")
59 bool DisableHoverEvents();
60
65 UFUNCTION(BlueprintNativeEvent, BlueprintCallable, Category = "PixoVR | Interaction")
66 bool DisablePressEvents();
67};
Interface for PixoVR interaction with laser functionality.
void OnPressBegin(const FHitResult &HitResult, APlayerController *Executor)
Called when the object is being pressed by laser.
bool DisablePressEvents()
Determines whether the press events should be disabled for the object.
void OnPressEnd(const FHitResult &HitResult, APlayerController *Executor)
Called when the object is released by laser.
bool DisableHoverEvents()
Determines whether the hover events should be disabled for the object.
void OnHoverBegin(const FHitResult &HitResult, APlayerController *Executor)
Called when the object is being hovered over by laser.
void OnHoverEnd(const FHitResult &HitResult, APlayerController *Executor)
Called when the object is no longer being hovered over by laser.