Navigation
API > API/Plugins > API/Plugins/XRBase > API/Plugins/XRBase/FXRMotionControllerBaseLegacy
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual bool GetControllerOrientationAndPosition
(
const int32 ControllerIndex, |
These are overridden to call into the backward compatibility functions below. They are final and private because a legacy vr plugin would not use or implement these functions. | XRMotionControllerBase.h | |
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 | |
virtual bool GetControllerOrientationAndPosition
(
const int32 ControllerIndex, |
XRMotionControllerBase.h |
GetControllerOrientationAndPosition(const int32, const FName, FRotator &, FVector &, float)
Description
These are overridden to call into the backward compatibility functions below. They are final and private because a legacy vr plugin would not use or implement these functions.
| Name | GetControllerOrientationAndPosition |
| Type | function |
| Header File | /Engine/Plugins/Runtime/XRBase/Source/XRBase/Public/XRMotionControllerBase.h |
| Include Path | #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,
float WorldToMetersScale
) const
GetControllerOrientationAndPosition(const int32, const EControllerHand, FRotator &, FVector &, float)
Description
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.
| Name | GetControllerOrientationAndPosition |
| Type | function |
| Header File | /Engine/Plugins/Runtime/XRBase/Source/XRBase/Public/XRMotionControllerBase.h |
| Include Path | #include "XRMotionControllerBase.h" |
bool GetControllerOrientationAndPosition
(
const int32 ControllerIndex,
const EControllerHand DeviceHand,
FRotator & OutOrientation,
FVector & OutPosition,
float WorldToMetersScale
) const
GetControllerOrientationAndPosition(const int32, const FName, FRotator &, FVector &, bool &, FVector &, bool &, FVector &, bool &, FVector &, float)
| Name | GetControllerOrientationAndPosition |
| Type | function |
| Header File | /Engine/Plugins/Runtime/XRBase/Source/XRBase/Public/XRMotionControllerBase.h |
| Include Path | #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