Navigation
API > API/Plugins > API/Plugins/XRBase
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.
| Name | FXRMotionControllerBaseLegacy |
| Type | class |
| Header File | /Engine/Plugins/Runtime/XRBase/Source/XRBase/Public/XRMotionControllerBase.h |
| Include Path | #include "XRMotionControllerBase.h" |
Syntax
class FXRMotionControllerBaseLegacy : public FXRMotionControllerBase
Implements Interfaces
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
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. | XRMotionControllerBase.h | |
ETrackingStatus GetControllerTrackingStatus
(
const int32 ControllerIndex, |
Original GetControllerTrackingStatus signature for backwards compatibility. | XRMotionControllerBase.h |