Navigation
API > API/Plugins > API/Plugins/XRCreative > API/Plugins/XRCreative/AXRCreativeAvatar
References
| Module | XRCreative |
| Header | /Engine/Plugins/Experimental/XRCreativeFramework/Source/XRCreative/Public/XRCreativeAvatar.h |
| Include | #include "XRCreativeAvatar.h" |
| Source | /Engine/Plugins/Experimental/XRCreativeFramework/Source/XRCreative/Private/XRCreativeAvatar.cpp |
UFUNCTION (BlueprintCallable, Category="XR Creative")
virtual void PlayHapticEffect
(
UHapticFeedbackEffect_Base * HapticEffect,
const int ControllerID,
const EControllerHand Hand,
float Scale,
bool bLoop
)
Remarks
Play haptic feedback asset on a given hand - only left and right supported
Parameters
| Name | Description |
|---|---|
| HapticEffect | The haptic effect to play |
| Hand | Which hand to play the haptic effect on |
| ControllerID | ID of PlayerController if in PIE or runtime (not required in-editor) |
| Scale | Scale between 0.0 and 1.0 on the intensity of playback |