From c9e8beabdddd9a1f411326a9fdc962415b7b5b54 Mon Sep 17 00:00:00 2001 From: Mamadou Babaei Date: Mon, 23 Feb 2026 13:29:28 +0100 Subject: [PATCH] add a missing blueprint ufunction specifier --- .../Private/SGKismet/SGHapticsComponentKismetLibrary.cpp | 2 +- .../Public/SGKismet/SGHapticsComponentKismetLibrary.h | 7 +++++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/Source/SenseGloveKismet/Private/SGKismet/SGHapticsComponentKismetLibrary.cpp b/Source/SenseGloveKismet/Private/SGKismet/SGHapticsComponentKismetLibrary.cpp index 79ae1faa..8838028a 100644 --- a/Source/SenseGloveKismet/Private/SGKismet/SGHapticsComponentKismetLibrary.cpp +++ b/Source/SenseGloveKismet/Private/SGKismet/SGHapticsComponentKismetLibrary.cpp @@ -92,7 +92,7 @@ bool UHapticsComponentKismetLibrary::SupportsCustomWaveform( return HapticsComponent->SupportsCustomWaveform(AtLocation); } -bool UHapticsComponentKismetLibrary::SendCustomWaveform( +bool UHapticsComponentKismetLibrary::SendCustomWaveform_OutWaveform_Location( USGHapticsComponent* HapticsComponent, USGCustomWaveform* OutWaveform, const ESGHapticLocation Location) { diff --git a/Source/SenseGloveKismet/Public/SGKismet/SGHapticsComponentKismetLibrary.h b/Source/SenseGloveKismet/Public/SGKismet/SGHapticsComponentKismetLibrary.h index 5a5b09be..5d6d8de6 100644 --- a/Source/SenseGloveKismet/Public/SGKismet/SGHapticsComponentKismetLibrary.h +++ b/Source/SenseGloveKismet/Public/SGKismet/SGHapticsComponentKismetLibrary.h @@ -102,8 +102,11 @@ public: * @param OutWaveform * @param Location */ - static bool SendCustomWaveform(UPARAM(ref) USGHapticsComponent* HapticsComponent, - USGCustomWaveform* OutWaveform, ESGHapticLocation Location); + UFUNCTION(BlueprintCallable, DisplayName="Send Custom Waveform", + Category="SenseGlove | Components | Haptics Component") + static bool SendCustomWaveform_OutWaveform_Location( + UPARAM(ref) USGHapticsComponent* HapticsComponent, + USGCustomWaveform* OutWaveform, ESGHapticLocation Location); /** * Sends a custom waveform to the location specified, provided that the glove has a motor there, and can support