Unreal SDK  v1.2.0
Loading...
Searching...
No Matches
WeArtGraspEvents.h
Go to the documentation of this file.
1
2#pragma once
3
4#include "CoreMinimal.h"
6#include "WeArtCommon.h"
7#include "GameFramework/Actor.h"
9
10DECLARE_DYNAMIC_MULTICAST_DELEGATE_TwoParams(FOnHandControllerGraspSignature, EHandSide, handSide, UWeArtTouchableObject*, weArtTouchableObject);
11DECLARE_DYNAMIC_MULTICAST_DELEGATE_TwoParams(FOnHandControllerReleaseSignature, EHandSide, handSide, UWeArtTouchableObject*, weArtTouchableObject);
12
17UCLASS()
19{
20 GENERATED_BODY()
21
22public:
23 // Sets default values for this actor's properties
25
26protected:
27 // Called when the game starts or when spawned
28 virtual void BeginPlay() override;
29
30public:
31 // Called every frame
32 virtual void Tick(float DeltaTime) override;
33
35 UPROPERTY(BlueprintAssignable)
36 FOnHandControllerGraspSignature OnMiddlewareHandControllerGrasp;
42 UFUNCTION(BlueprintImplementableEvent)
43 void OnHandControllerGrasp(EHandSide handSide, UWeArtTouchableObject* weArtTouchableObject);
45 UPROPERTY(BlueprintAssignable)
46 FOnHandControllerReleaseSignature OnMiddlewareHandControllerRelease;
52 UFUNCTION(BlueprintImplementableEvent)
53 void OnHandControllerRelease(EHandSide handSide, UWeArtTouchableObject* weArtTouchableObject);
54
55};
#define WEARTPLUGIN_API
Definition: Definitions.WEARTPlugin.h:292
EHandSide
Definition: WeArtCommon.h:8
DECLARE_DYNAMIC_MULTICAST_DELEGATE_TwoParams(FOnHandControllerGraspSignature, EHandSide, handSide, UWeArtTouchableObject *, weArtTouchableObject)
Handles events related to grasping actions.
Definition: WeArtGraspEvents.h:19