A Demo Project for the UnrealEngineSDK
Loading...
Searching...
No Matches
HandAnimationInterface.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 "HandAnimationInterface.generated.h"
7
11UENUM(BlueprintType)
12enum class EPixoVRGripState : uint8
13{
14 Open UMETA(Displayname = "Open"),
15 CanGrab UMETA(Displayname = "CanGrab"),
16 Grab UMETA(Displayname = "Grab"),
17 AdvanceGrab UMETA(Displayname = "AdvanceGrab"),
18 HoldTool UMETA(Displayname = "HoldTool"),
19 HoldTensioner UMETA(Displayname = "HoldTensioner"),
20 HoldFastener UMETA(Displayname = "HoldFastener"),
21 HoldClipboard UMETA(Displayname = "HoldClipoard"),
22 CanInteract UMETA(Displayname = "HoldTool"),
23 HoldLaserPointer UMETA(Displayname = "HoldLaserPointer"),
24 PointFinger UMETA(Displayname = "PointFinger"),
25 HoldCup UMETA(Displayname = "HoldCup"),
26 HoldTongue UMETA(Displayname = "HoldTongue")
27};
28
29UINTERFACE(MinimalAPI)
31{
33};
34
38class PIXOCORE_API IHandAnimationInterface
39{
40 GENERATED_BODY()
41
42public:
47 UFUNCTION(BlueprintNativeEvent, BlueprintCallable, Category = "PixoVR | Animation")
48 void SetAnimationGripState(EPixoVRGripState AnimationState);
49
54 UFUNCTION(BlueprintNativeEvent, BlueprintCallable, Category = "PixoVR | Animation")
55 void SetHandActor(AActor* Hand);
56};
EPixoVRGripState
Enumeration for different grip states for hand animation in PixoVR.
Interface for hand animation functionality.
void SetHandActor(AActor *Hand)
Sets the hand actor for animation.
void SetAnimationGripState(EPixoVRGripState AnimationState)
Sets the animation grip state of the hand.