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" |
| Source | /Engine/Plugins/Runtime/XRBase/Source/XRBase/Private/XRMotionControllerBase.cpp |
virtual bool GetControllerOrientationAndPosition
(
const int32 ControllerIndex,
const FName MotionSource,
FRotator & OutOrientation,
FVector & OutPosition,
bool & OutbProvidedLinearVelocity,
FVector & OutLinearVelocity,
bool & OutbProvidedAngularVelocity,
FVector & OutAngularVelocityAsAxisAndLength,
bool & OutbProvidedLinearAcceleration,
FVector & OutLinearAcceleration,
float WorldToMetersScale
) const
Remarks
Returns the calibration-space orientation of the requested controller's hand.