Navigation
API > API/Plugins > API/Plugins/XRBase
Inheritance Hierarchy
- IModularFeature
- IMotionController
- FXRMotionControllerBase
- FXRMotionControllerBaseLegacy
References
| Module | XRBase |
| Header | /Engine/Plugins/Runtime/XRBase/Source/XRBase/Public/XRMotionControllerBase.h |
| Include | #include "XRMotionControllerBase.h" |
Syntax
class FXRMotionControllerBase : public IMotionController
Remarks
Base utility class for implementations of the IMotionController interface
Destructors
| Type | Name | Description | |
|---|---|---|---|
Overridden from IMotionController
| Type | Name | Description | |
|---|---|---|---|
| void | EnumerateSources
(
TArray< FMotionControllerSource >& SourcesOut |
Called to request the motion sources that this IMotionController provides | |
| bool | GetControllerOrientationAndPosition
(
const int32 ControllerIndex, |
Note: In this class we are providing a default implementation of GetControllerOrientationAndPosition with velocity, etc parameters and GetControllerOrientationAndPositionForTime that never provide that data and require override of the four param version because this is the most common implementation now. | |
| bool | GetControllerOrientationAndPosition
(
const int32 ControllerIndex, |
Returns the calibration-space orientation of the requested controller's hand. | |
| bool | GetControllerOrientationAndPositionForTime
(
const int32 ControllerIndex, |
Returns the calibration-space orientation of the requested controller's hand at the specified time for potentially improved temporal precision, particularly fetching the controller transform when a button was pressed on a platform that provides sub-frame timing for button presses. | |
| ETrackingStatus | GetControllerTrackingStatus
(
const int32 ControllerIndex, |
Returns the tracking status (e.g. not tracked, intertial-only, fully tracked) of the specified controller | |
| float | GetCustomParameterValue
(
const FName MotionSource, |
Returns a custom names parameter value | |
| bool | GetHandJointPosition
(
const FName MotionSource, |