UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
IMotionTrackingSystemManagement Class Referenceabstract

#include <IMotionTrackingSystemManagement.h>

+ Inheritance diagram for IMotionTrackingSystemManagement:

Public Member Functions

virtual void SetIsControllerMotionTrackingEnabledByDefault (bool Enable)=0
 
virtual int32 GetMaximumMotionTrackedControllerCount () const =0
 
virtual int32 GetMotionTrackingEnabledControllerCount () const =0
 
virtual bool IsMotionTrackingEnabledForDevice (const int32 ControllerIndex, const EControllerHand DeviceHand) const =0
 
virtual bool EnableMotionTrackingOfDevice (const int32 ControllerIndex, const EControllerHand DeviceHand)=0
 
virtual void DisableMotionTrackingOfDevice (const int32 ControllerIndex, const EControllerHand DeviceHand)=0
 
virtual void DisableMotionTrackingOfAllControllers ()=0
 
virtual void DisableMotionTrackingOfControllersForPlayer (int32 PlayerIndex)=0
 

Static Public Member Functions

static FName GetModularFeatureName ()
 

Detailed Description

Motion Tracking System Management interface

This exposes management options for a motion tracking system. Some platforms will not implement it.

Member Function Documentation

◆ DisableMotionTrackingOfAllControllers()

virtual void IMotionTrackingSystemManagement::DisableMotionTrackingOfAllControllers ( )
pure virtual

Disable tracking for all controllers.

◆ DisableMotionTrackingOfControllersForPlayer()

virtual void IMotionTrackingSystemManagement::DisableMotionTrackingOfControllersForPlayer ( int32  PlayerIndex)
pure virtual

Disable tracking for all controllers of a certain player.

Parameters
PlayerIndex(in) The index of the player.

◆ DisableMotionTrackingOfDevice()

virtual void IMotionTrackingSystemManagement::DisableMotionTrackingOfDevice ( const int32  ControllerIndex,
const EControllerHand  DeviceHand 
)
pure virtual

Disable tracking of the specified controller, by player index and tracked device type.

Parameters
PlayerIndex(in) The index of the player.
Hand(in) The tracked device type.

◆ EnableMotionTrackingOfDevice()

virtual bool IMotionTrackingSystemManagement::EnableMotionTrackingOfDevice ( const int32  ControllerIndex,
const EControllerHand  DeviceHand 
)
pure virtual

Enaable tracking of the specified controller, by player index and tracked device type.

Parameters
PlayerIndex(in) The index of the player.
Hand(in) The device type.
Returns
(Boolean) true if the specified device is now set to be tracked. This could fail due to tracking limits, or on invalid input.

◆ GetMaximumMotionTrackedControllerCount()

virtual int32 IMotionTrackingSystemManagement::GetMaximumMotionTrackedControllerCount ( ) const
pure virtual

Get the maximum number of controllers that can be tracked.

Returns
(int) number of controllers that can be tracked.

◆ GetModularFeatureName()

static FName IMotionTrackingSystemManagement::GetModularFeatureName ( )
inlinestatic

◆ GetMotionTrackingEnabledControllerCount()

virtual int32 IMotionTrackingSystemManagement::GetMotionTrackingEnabledControllerCount ( ) const
pure virtual

Get the number of controllers for which motion tracking is enabled.

Returns
(int) number of controllers tracked now.

◆ IsMotionTrackingEnabledForDevice()

virtual bool IMotionTrackingSystemManagement::IsMotionTrackingEnabledForDevice ( const int32  ControllerIndex,
const EControllerHand  DeviceHand 
) const
pure virtual

Returns true if the specified device is supposed to be tracked

Parameters
PlayerIndex(in) The index of the player.
Hand(in) The tracked device type.
Returns
(Boolean) true if the specified device is set to be tracked.

◆ SetIsControllerMotionTrackingEnabledByDefault()

virtual void IMotionTrackingSystemManagement::SetIsControllerMotionTrackingEnabledByDefault ( bool  Enable)
pure virtual

Set whether controller tracking is enabled by default or whether controllers must be specifically enabled.

Parameters
Enable(in) True to enable by default.

The documentation for this class was generated from the following file: