Navigation
API > API/Plugins > API/Plugins/XRBase
Base utility class for implementations of the IMotionController interface
| Name | FXRMotionControllerBase |
| Type | class |
| Header File | /Engine/Plugins/Runtime/XRBase/Source/XRBase/Public/XRMotionControllerBase.h |
| Include Path | #include "XRMotionControllerBase.h" |
Syntax
class FXRMotionControllerBase : public IMotionController
Implements Interfaces
Derived Classes
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~FXRMotionControllerBase() |
XRMotionControllerBase.h |
Functions
Public
Overridden from IMotionController
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void EnumerateSources
(
TArray< FMotionControllerSource >& SourcesOut |
XRMotionControllerBase.h | ||
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. | XRMotionControllerBase.h | |
virtual bool GetControllerOrientationAndPosition
(
const int32 ControllerIndex, |
XRMotionControllerBase.h | ||
virtual bool GetControllerOrientationAndPositionForTime
(
const int32 ControllerIndex, |
XRMotionControllerBase.h | ||
ETrackingStatus GetControllerTrackingStatus
(
const int32 ControllerIndex, |
XRMotionControllerBase.h | ||
virtual float GetCustomParameterValue
(
const FName MotionSource, |
XRMotionControllerBase.h | ||
virtual bool GetHandJointPosition
(
const FName MotionSource, |
XRMotionControllerBase.h |