fix the send custom waveform signature on the hand layer
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user