Navigation
API > API/Plugins > API/Plugins/XRBase > API/Plugins/XRBase/FXRMotionControllerBase > API/Plugins/XRBase/FXRMotionControllerBase/GetControllerOrientationAndPosit-
- IMotionController::GetControllerOrientationAndPosition()
- FXRMotionControllerBase::GetControllerOrientationAndPosition()
- FXRMotionControllerBaseLegacy::GetControllerOrientationAndPosition()
References
| Module | XRBase |
| Header | /Engine/Plugins/Runtime/XRBase/Source/XRBase/Public/XRMotionControllerBase.h |
| Include | #include "XRMotionControllerBase.h" |
bool GetControllerOrientationAndPosition
&40;
const int32 ControllerIndex,
const FName MotionSource,
FRotator & OutOrientation,
FVector & OutPosition,
float WorldToMetersScale
&41; const
Remarks
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. Any child class that does support some of the additional params should override all three functions.