A Demo Project for the UnrealEngineSDK
Loading...
Searching...
No Matches
PixoVRToolInterface.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"
7#include "PixoVRToolInterface.generated.h"
8
9UINTERFACE(MinimalAPI)
11{
13};
14
18class PIXOCORE_API IPixoVRToolInterface
19{
20 GENERATED_BODY()
22public:
27 UFUNCTION(BlueprintNativeEvent, BlueprintCallable, Category = "PixoVRTool")
28 void InitializeTool(const FPixoToolData& InToolData);
29
34 UFUNCTION(BlueprintNativeEvent, BlueprintCallable, Category = "PixoVRTool")
35 void PairSecondaryTool(AActor* SecondaryTool);
36
42 UFUNCTION(BlueprintNativeEvent, BlueprintCallable, Category = "PixoVRTool")
43 void Use(bool InActivate, EControllerHand Hand);
44
49 UFUNCTION(BlueprintNativeEvent, BlueprintCallable, Category = "PixoVRTool")
50 void ToggleState(EControllerHand Hand);
51};
Interface for PixoVR tool functionality.
void InitializeTool(const FPixoToolData &InToolData)
Passes tool data to the tool to provide user configurable data.
void Use(bool InActivate, EControllerHand Hand)
Wraps the usable functionality of the tool.
void PairSecondaryTool(AActor *SecondaryTool)
Binds a secondary tool to the primary tool.
void ToggleState(EControllerHand Hand)
Wraps the toggle on and off functionality of the tool.
UINTERFACE(MinimalAPI)
Represents data for a tool in PixoCore.