LEAP Documentation 40220
Documentation for the LEAP project
VirtualCursorFunctionLibrary.h
Go to the documentation of this file.
1// Copyright 1998-2015 Epic Games, Inc. All Rights Reserved.
2
3#pragma once
4
5#include "Kismet/BlueprintFunctionLibrary.h"
6#include "VirtualCursorFunctionLibrary.generated.h"
7
8UCLASS()
9class PROJECTX_API UVirtualCursorFunctionLibrary : public UBlueprintFunctionLibrary
10{
11 GENERATED_BODY()
12
13private:
14 static bool bIsVirtualCursorActive;
15
16public:
17
18 UFUNCTION(BlueprintPure, Category = "Game")
19 static bool IsVirtualCursorActive() { return bIsVirtualCursorActive; }
20
21 UFUNCTION(BlueprintCallable, Category = "Game")
22 static void SetVirtualCursorSensitivity(float Multiplier);
23
24 UFUNCTION(BlueprintCallable, Category="Game")
25 static void EnableVirtualCursor(class APlayerController* PC);
26
27 UFUNCTION(BlueprintCallable, Category = "Game")
28 static void DisableVirtualCursor(class APlayerController* PC);
29
30 UFUNCTION(BlueprintPure, Category="Game")
31 static bool IsCursorOverInteractableWidget();
32};
Definition: VirtualCursorFunctionLibrary.h:10