Navigation
API > API/Plugins > API/Plugins/XRBase > API/Plugins/XRBase/FXRMotionControllerBase
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
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 |
GetControllerOrientationAndPosition(const int32, const FName, FRotator &, FVector &, float)
Description
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.
| 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 FName MotionSource,
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