fix the send custom waveform signature on the hand layer

This commit is contained in:
Mamadou Babaei
2024-03-22 20:59:17 +01:00
parent 078eee1c38
commit 3af01c23a4
4 changed files with 4 additions and 4 deletions
@@ -177,7 +177,7 @@ bool FSGHandLayer::SupportsCustomWaveform(
}
bool FSGHandLayer::SendCustomWaveform(
const bool bRightHanded, USGCustomWaveform*& OutWaveform, const ESGHapticLocation Location)
const bool bRightHanded, USGCustomWaveform* OutWaveform, const ESGHapticLocation Location)
{
FSGIC_FSGCustomWaveformImpl OutWaveformContainer{OutWaveform->ToCustomWaveformImpl()};
FSGIC_ESGHapticLocation LocationContainer{Location};
@@ -217,7 +217,7 @@ public:
* @param OutWaveform
* @param Location
*/
static bool SendCustomWaveform(bool bRightHanded, USGCustomWaveform*& OutWaveform, ESGHapticLocation Location);
static bool SendCustomWaveform(bool bRightHanded, USGCustomWaveform* OutWaveform, ESGHapticLocation Location);
/**
* Returns true if the chosen glove supports active contact feedback on the Wrist.
@@ -140,7 +140,7 @@ bool USGHandLayerKismetLibrary::SupportsCustomWaveform(const bool bRightHanded,
}
bool USGHandLayerKismetLibrary::SendCustomWaveform(
const bool bRightHanded, USGCustomWaveform*& OutWaveform, const ESGHapticLocation Location)
const bool bRightHanded, USGCustomWaveform* OutWaveform, const ESGHapticLocation Location)
{
return FSGHandLayer::SendCustomWaveform(bRightHanded, OutWaveform, Location);
}
@@ -178,7 +178,7 @@ public:
* Send a Custom Waveform to a glove at a specific location.
*/
UFUNCTION(BlueprintCallable, Category="SenseGlove | Core | Hand Layer")
static bool SendCustomWaveform(bool bRightHanded, USGCustomWaveform*& OutWaveform, ESGHapticLocation Location);
static bool SendCustomWaveform(bool bRightHanded, USGCustomWaveform* OutWaveform, ESGHapticLocation Location);
/**
* Returns true if the chosen glove supports active contact feedback on the Wrist.