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