API reference
API reference
Select your platform
No SDKs available
No versions available

UOculusXRInputFunctionLibrary Class

Extends UBlueprintFunctionLibrary

Public Statics

static FHandMovementFilterDelegate HandMovementFilter[Get]

Static Member Functions

static EOculusXRFinger ConvertBoneToFinger
( const EOculusXRBone Bone )
Called to modify Hand position and orientation whenever it is queried.
Creates a new runtime hand skeletal mesh.
Parameters
HandSkeletalMesh
(out) Skeletal Mesh object that will be used for the runtime hand mesh
SkeletonType
(in) The skeleton type that will be used for generating the hand bones
MeshType
(in) The mesh type that will be used for generating the hand mesh
WorldTometers
(in) Optional change to the world to meters conversion value
Initializes physics capsules for collision and physics on the runtime mesh
Parameters
SkeletonType
(in) The skeleton type that will be used to generated the capsules
HandComponent
(in) The skinned mesh component that the capsules will be attached to
WorldTometers
(in) Optional change to the world to meters conversion value
Get the rotation of a specific bone
Parameters
DeviceHand
(in) The hand to get the rotations from
BoneId
(in) The specific bone to get the rotation from
ControllerIndex
(in) Optional different controller index
Get the pointer pose
Parameters
DeviceHand
(in) The hand to get the pointer pose from
ControllerIndex
(in) Optional different controller index
Check if the pointer pose is a valid pose
Parameters
DeviceHand
(in) The hand to get the pointer status from
ControllerIndex
(in) Optional different controller index
Get the tracking confidence of the hand
Parameters
DeviceHand
(in) The hand to get tracking confidence of
ControllerIndex
(in) Optional different controller index
Get the tracking confidence of a finger
Parameters
DeviceHand
(in) The hand to get tracking confidence of
ControllerIndex
(in) Optional different controller index
Finger
(in) The finger to get tracking confidence of
Get the scale of the hand
Parameters
DeviceHand
(in) The hand to get scale of
ControllerIndex
(in) Optional different controller index
Get the user's dominant hand
Parameters
ControllerIndex
(in) Optional different controller index
Check if hand tracking is enabled currently
Check if the hand position is valid
Parameters
DeviceHand
(in) The hand to get the position from
ControllerIndex
(in) Optional different controller index
Get the bone name from the bone index
Parameters
BoneIndex
(in) Bone index to get the name of
Play a haptic feedback curve on the player's controller with location support. The curve data will be sampled and sent to controller to vibrate a specific location at each frame.
Parameters
HapticEffect
The haptic effect to play
Hand
Which hand to play the effect on
Location
Which hand location to play the effect on
Scale
Scale between 0.0 and 1.0 on the intensity of playback
Play a haptic feedback buffer on the player's controller with location support. In each frame, the buffer data will be sampled and the individual sampled data will be sent to controller to vibrate a specific location.
Parameters
HapticEffect
The haptic effect to play
Hand
Which hand to play the effect on
Location
Which hand location to play the effect on
Scale
Scale between 0.0 and 1.0 on the intensity of playback
Play a haptic feedback buffer on the player's controller. All buffer data will be sent to controller together in one frame. Data duration should be no greater than controller's maximum haptics duration which can be queried with GetMaxHapticDuration.
Parameters
HapticEffect
The haptic effect to play
Hand
Which hand to play the effect on
Play a haptic feedback soundwave on the player's controller. In each frame, the soundwave data will be split into a batch of data and sent to controller. The data duration of each frame is equal to controller's maximum haptics duration which can be queried with GetMaxHapticDuration.
Parameters
HapticEffect
The haptic effect to play
Hand
Which hand to play the effect on
bAppend
False: any existing samples will be cleared and a new haptic effect will begin; True: samples will be appended to the currently playing effect
Scale
Scale between 0.0 and 1.0 on the intensity of playback
Stops a playing haptic feedback curve at a specific location.
Parameters
HapticEffect
The haptic effect to stop
Hand
Which hand to stop the effect for
Location
Which hand location to play the effect on
Set the value of the haptics for the specified hand and location directly, using frequency and amplitude. NOTE: If a curve is already playing for this hand, it will be cancelled in favour of the specified values.
Parameters
Frequency
The normalized frequency [0.0, 1.0] to play through the haptics system
Amplitude
The normalized amplitude [0.0, 1.0] to set the haptic feedback to
Hand
Which hand to play the effect on
Location
Which hand location to play the effect on
Get the controller haptics sample rate.
Parameters
Hand
Which hand to play the effect on
Get the maximum duration (in seconds) that the controller haptics can handle each time.
Parameters
Hand
Which hand to play the effect on
Set if / how controller inputs are used to build a syntheic hand pose.
Parameters
Type
How the hand should be posed.
Get if / how controller inputs are used to build a syntheic hand pose.

Member Functions

DECLARE_MULTICAST_DELEGATE_FourParams
( FHandMovementFilterDelegate ,
EControllerHand ,
FVector * ,
FRotator * ,
bool * )
Did you find this page helpful?
Thumbs up icon
Thumbs down icon