Mobile VR
Prerequisite:
-
For the project using before UE5.1, please upgrade project and plugin to the following versions:
- UE5.1 with Mobile ViveOpenXRAndroid Plugin (v1.0.5)
- Before upgrading the project to UE5.2, we suggest upgrading ViveOpenXR plugin to v2.0.0 first in UE5.1 then upgrading the project to UE5.2.
Upgrade ViveOpenXRAndroid Plugin (v1.0.5) to ViveOpenXR Plugin (v2.0.0):
Please remove ViveOpenXRAndroid from the “Plugins" folder and add ViveOpenXR plugin(v2.0.0) to the "Plugins" folder.
Remove ViveOpenXRAndroid section as below in “.uproject” file.
Some APIs are changed, please follow “Output Log” to update the blueprints.
Example:
- Hand Interaction:
New function / blueprint node (v2.0.0) |
Old function / blueprint node (deprecated) |
GetHandInteractionSelectValue
|
GetPinchStrength
|
GetHandInteractionAimPose
|
GetPinchRotation
|
GetHandInteractionAimPose
|
GetPinchPosition
|
GetHandInteractionAimPose
|
GetPinchActive
|
GetHandInteractionAimPose
|
GetPinchValid
|
GetHandInteractionAimPose
|
GetPinchTracked
|
- Passthrough:
New function / blueprint node (v2.0.0) |
Old function / blueprint node (deprecated) |
CreatePassthroughUnderlay
|
CreatePassthroughUnderlay
|
DestroyPassthroughUnderlay
|
DestroyPassthroughUnderlay
|
SetPassthroughAlpha
|
SetPassthroughAlpha
|
SetPassthroughMesh
|
SetPassthroughMesh
|
SetPassthroughMeshTransform
|
SetPassthroughMeshTransform
|
SetPassthroughMeshTransformSpace
|
SetPassthroughMeshTransformSpace
|
SetPassthroughMeshTransformLocation
|
SetPassthroughMeshTransformPosition
|
SetPassthroughMeshTransformRotation
|
SetPassthroughMeshTransformOrientation
|
SetPassthroughMeshTransformScale
|
SetPassthroughMeshTransformScale
|
- Wrist Tracker:
New function / blueprint node (v2.0.0) |
Old function / blueprint node (deprecated) |
GetWristTrackerLocationAndRotation
|
GetTrackerRotation
|
GetWristTrackerLocationAndRotation
|
GetTrackerPosition
|
GetWristTrackerLocationAndRotation
|
GetTrackerActive
|
GetWristTrackerLocationAndRotation
|
GetTrackerValid
|
GetWristTrackerLocationAndRotation
|
GetTrackerTracked
|
IsWrsitTrackerKeyDown
|
GetTrackerKeyDown
|
The following functions/blueprint nodes are removed:
-
IsAimControllerTracked
-
IsGripControllerTracked
Please use UE native function/blueprint node“GetMotionControllerData” to check the validation.