UHandInteractionBlueprintFunctionLibrary

#include <HandInteractionBlueprintFunctionLibrary.h>

Summary

Inheritance

Inherits from: UBlueprintFunctionLibrary

Public static functions

GetInteractionPose(EControllerHand Hand, EOpenXRHandInteractionType InteractionType, FTransform & InteractionPose)
bool
Gets an interaction's current pose transform.
GetInteractionReady(EControllerHand Hand, EOpenXRHandInteractionType InteractionType)
bool
Gets the ready state of an interaction.
GetInteractionValue(EControllerHand Hand, EOpenXRHandInteractionType InteractionType, float & InteractionValue)
bool
Gets an interaction's current float value.

Public static functions

GetInteractionPose

bool GetInteractionPose(
  EControllerHand Hand,
  EOpenXRHandInteractionType InteractionType,
  FTransform & InteractionPose
)

Gets an interaction's current pose transform.

Details
Parameters
Hand
Hand to retrieve. EControllerHand::Right will use the right hand; anything else will use the left hand.
InteractionType
Interaction to query.
InteractionPose
The current pose transform.
Returns
True if the underlying API call was successful.

GetInteractionReady

bool GetInteractionReady(
  EControllerHand Hand,
  EOpenXRHandInteractionType InteractionType
)

Gets the ready state of an interaction.

Details
Parameters
Hand
Hand to retrieve. EControllerHand::Right will use the right hand; anything else will use the left hand.
InteractionType
The desired interaction.
Returns
True if the underlying API call was successful and the interaction is ready.

GetInteractionValue

bool GetInteractionValue(
  EControllerHand Hand,
  EOpenXRHandInteractionType InteractionType,
  float & InteractionValue
)

Gets an interaction's current float value.

Details
Parameters
Hand
Hand to retrieve. EControllerHand::Right will use the right hand; anything else will use the left hand.
InteractionType
The desired interaction.
InteractionValue
The current value.
Returns
True if the underlying API call was successful.