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&40;BlueprintCallable, Category&61;"XR Creative"&41;
virtual void PlayHapticEffect
&40;
UHapticFeedbackEffect_Base &42; HapticEffect,
const int ControllerID,
const EControllerHand Hand,
float Scale,
bool bLoop
&41;
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 |