Unreal SDK  v1.2.0
Loading...
Searching...
No Matches
WeArtCalibrationUX.h
Go to the documentation of this file.
1// Fill out your copyright notice in the Description page of Project Settings.
2
3#pragma once
4
5#include "CoreMinimal.h"
6#include "GameFramework/Actor.h"
7#include "WeArtCommon.h"
9
10DECLARE_DYNAMIC_MULTICAST_DELEGATE_OneParam(FOnUXCalibrationStartSignature, EHandSide, handSide);
11DECLARE_DYNAMIC_MULTICAST_DELEGATE_OneParam(FOnUXCalibrationFinishSignature, EHandSide, handSide);
12DECLARE_DYNAMIC_MULTICAST_DELEGATE_OneParam(FOnUXCalibrationResultSuccessSignature, EHandSide, handSide);
13DECLARE_DYNAMIC_MULTICAST_DELEGATE_OneParam(FOnUXCalibrationResultFailSignature, EHandSide, handSide);
14DECLARE_DYNAMIC_MULTICAST_DELEGATE(FOnUXCalibrationStopSignature);
15
16UCLASS()
18{
19 GENERATED_BODY()
20
21public:
22 // Sets default values for this actor's properties
24
25protected:
26 // Called when the game starts or when spawned
27 virtual void BeginPlay() override;
28
29public:
30 // Called every frame
31 virtual void Tick(float DeltaTime) override;
32
33 UPROPERTY(BlueprintAssignable)
34 FOnUXCalibrationStartSignature OnUXMiddlewareCalibrationStart;
35
36 UFUNCTION(BlueprintImplementableEvent)
37 void OnUXCalibrationStart(EHandSide handSide);
38
39 UPROPERTY(BlueprintAssignable)
40 FOnUXCalibrationFinishSignature OnUXMiddlewareCalibrationFinish;
41
42 UFUNCTION(BlueprintImplementableEvent)
43 void OnUXCalibrationFinish(EHandSide handSide);
44
45 UPROPERTY(BlueprintAssignable)
46 FOnUXCalibrationResultSuccessSignature OnUXMiddlewareCalibrationResultSuccess;
47
48 UFUNCTION(BlueprintImplementableEvent)
49 void OnUXCalibrationResultSuccess(EHandSide handSide);
50
51 UPROPERTY(BlueprintAssignable)
52 FOnUXCalibrationResultFailSignature OnUXMiddlewareCalibrationResultFail;
53
54 UFUNCTION(BlueprintImplementableEvent)
55 void OnUXCalibrationResultFail(EHandSide handSide);
56
57 UPROPERTY(BlueprintAssignable)
58 FOnUXCalibrationStopSignature OnUXMiddlewareCalibrationStop;
59
60 UFUNCTION(BlueprintImplementableEvent)
61 void OnUXCalibrationStop();
62};
#define WEARTPLUGIN_API
Definition: Definitions.WEARTPlugin.h:292
DECLARE_DYNAMIC_MULTICAST_DELEGATE(FOnUXCalibrationStopSignature)
DECLARE_DYNAMIC_MULTICAST_DELEGATE_OneParam(FOnUXCalibrationStartSignature, EHandSide, handSide)
EHandSide
Definition: WeArtCommon.h:8
Definition: WeArtCalibrationUX.h:18