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 FXRMotionControllerBaseLegacy : public FXRMotionControllerBase
Remarks
This class adapts deprecated or maintenence only xr plugins which use the old EControllerHand motion sources to the newer FName MotionSource API. If a plugin is still in active development it should refactor and derive from IMotionController or FXRMotionControllerBase rather than derive from this class.
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | GetControllerOrientationAndPosition
(
const int32 ControllerIndex, |
Original GetControllerOrientationAndPosition signature for backwards compatibility. They are pure virtual because a legacy plugin must implement them and public because a legacy vr plugin could use them internally. | |
| ETrackingStatus | GetControllerTrackingStatus
(
const int32 ControllerIndex, |
Original GetControllerTrackingStatus signature for backwards compatibility. |