add links to the ue source code from github
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
# Consuming FXRMotionControllerData
|
||||
|
||||
Taking a closer look at the <code>FXRMotionControllerData</code> declaration inside the Unreal Engine's <code>HeadMountedDisplay</code> module at <code>Engine/Source/Runtime/HeadMountedDisplay/Public/HeadMountedDisplayTypes.h</code>, figuring out the data structure might not seem very straightforward:
|
||||
Taking a closer look at the <code>FXRMotionControllerData</code> declaration inside the Unreal Engine's <code>HeadMountedDisplay</code> module at <code>[Engine/Source/Runtime/HeadMountedDisplay/Public/HeadMountedDisplayTypes.h](https://github.com/EpicGames/UnrealEngine/blob/release/Engine/Source/Runtime/HeadMountedDisplay/Public/HeadMountedDisplayTypes.h)</code>, figuring out the data structure might not seem very straightforward:
|
||||
|
||||
```cpp
|
||||
USTRUCT(BlueprintType)
|
||||
@@ -140,7 +140,7 @@ In order to draw and animate a virtual hand in real-time whether the data is com
|
||||
|
||||
Both <code>HandKeyPositions</code> and <code>HandKeyRotations</code> contain 26 elements as defined by OpenXR's [<code>XR_HAND_JOINT_COUNT_EXT</code>](https://registry.khronos.org/OpenXR/specs/1.1/man/html/XR_HAND_JOINT_COUNT_EXT.html) and [<code>XrHandJointLocationsEXT</code>](https://registry.khronos.org/OpenXR/specs/1.0/man/html/XrHandJointLocationsEXT.html), etc.
|
||||
|
||||
Unreal Engine also provides an enum called <code>EHandKeypoint</code> naming the 26 joints, and the equivalent of <code>XR_HAND_JOINT_COUNT_EXT</code> as <code>EHandKeypointCount</code> inside <code>Engine/Source/Runtime/HeadMountedDisplay/Public/HeadMountedDisplayTypes.h</code> as follows:
|
||||
Unreal Engine also provides an enum called <code>EHandKeypoint</code> naming the 26 joints, and the equivalent of <code>XR_HAND_JOINT_COUNT_EXT</code> as <code>EHandKeypointCount</code> inside <code>[Engine/Source/Runtime/HeadMountedDisplay/Public/HeadMountedDisplayTypes.h](https://github.com/EpicGames/UnrealEngine/blob/release/Engine/Source/Runtime/HeadMountedDisplay/Public/HeadMountedDisplayTypes.h)</code> as follows:
|
||||
|
||||
```cpp
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user