Navigation
API > API/Plugins > API/Plugins/XRBase
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UBlueprintFunctionLibrary
- UMotionTrackedDeviceFunctionLibrary
References
| Module | XRBase |
| Header | /Engine/Plugins/Runtime/XRBase/Source/XRBase/Public/MotionTrackedDeviceFunctionLibrary.h |
| Include | #include "MotionTrackedDeviceFunctionLibrary.h" |
Syntax
UCLASS&40;&41;
class UMotionTrackedDeviceFunctionLibrary : public UBlueprintFunctionLibrary
Constructors
| Type | Name | Description | |
|---|---|---|---|
UMotionTrackedDeviceFunctionLibrary
(
const FObjectInitializer& ObjectInitializer |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | DisableMotionTrackingForComponent
(
const UMotionControllerComponent* MotionControllerComponent |
Disable tracking of the specified controller, by player index and tracked device type. | |
| void | Disable tracking for all controllers. | ||
| void | DisableMotionTrackingOfControllersForPlayer
(
int32 PlayerIndex |
Disable tracking for all controllers associated with the specified player. | |
| void | DisableMotionTrackingOfDevice
(
int32 PlayerIndex, |
Disable tracking of the specified controller, by player index and tracked device type. | |
| void | DisableMotionTrackingOfSource
(
int32 PlayerIndex, |
Disable tracking of the specified controller, by player index and tracked device type. | |
| bool | EnableMotionTrackingForComponent
(
UMotionControllerComponent* MotionControllerComponent |
Enable tracking of the specified controller, by player index and tracked device type. | |
| bool | EnableMotionTrackingOfDevice
(
int32 PlayerIndex, |
Enable tracking of the specified controller, by player index and tracked device type. | |
| bool | EnableMotionTrackingOfSource
(
int32 PlayerIndex, |
Enable tracking of the specified controller, by player index and tracked device type. | |
| TArray< FName > | Returns a list of all available motion sources (FNames associated with discrete tracking data that can be used to drive MotionControllerComponents). | ||
| FName | Returns the system name used to distinguish the current tracking system. | ||
| int32 | Get the maximum number of controllers that can be tracked. | ||
| int32 | Get the number of controllers for which tracking is enabled. | ||
| bool | IsMotionSourceTracking
(
int32 PlayerIndex, |
Queries the specified source's tracking status and returns true if it has tracking. | |
| bool | Returns true if it is necessary for the game to manage how many motion tracked devices it is asking to be tracked simultaneously. | ||
| bool | IsMotionTrackingEnabledForComponent
(
const UMotionControllerComponent* MotionControllerComponent |
Returns true if tracking is enabled for the specified device. | |
| bool | IsMotionTrackingEnabledForDevice
(
int32 PlayerIndex, |
Returns true if tracking is enabled for the specified device. | |
| bool | IsMotionTrackingEnabledForSource
(
int32 PlayerIndex, |
Returns true if tracking is enabled for the specified device. | |
| void | SetIsControllerMotionTrackingEnabledByDefault
(
bool Enable |
Set whether motion tracked controllers activate on creation by default, or do not and must be explicitly activated. |