engine
 
载入中...
搜索中...
未找到
Public 成员函数 | 所有成员列表
IMotionTrackingSystemManagement类 参考abstract

Motion Tracking System Management interface 更多...

#include <IMotionTrackingSystemManagement.h>

+ 类 IMotionTrackingSystemManagement 继承关系图:

Public 成员函数

virtual void DisableMotionTrackingOfAllControllers ()=0
 Disable tracking for all controllers.
 
virtual void DisableMotionTrackingOfControllersForPlayer (int32 PlayerIndex)=0
 Disable tracking for all controllers of a certain player. 更多...
 
virtual void DisableMotionTrackingOfDevice (const int32 ControllerIndex, const EControllerHand DeviceHand)=0
 Disable tracking of the specified controller, by player index and tracked device type. 更多...
 
virtual bool EnableMotionTrackingOfDevice (const int32 ControllerIndex, const EControllerHand DeviceHand)=0
 Enaable tracking of the specified controller, by player index and tracked device type. 更多...
 
virtual int32 GetMaximumMotionTrackedControllerCount () const =0
 Get the maximum number of controllers that can be tracked. 更多...
 
virtual int32 GetMotionTrackingEnabledControllerCount () const =0
 Get the number of controllers for which motion tracking is enabled. 更多...
 
virtual bool IsMotionTrackingEnabledForDevice (const int32 ControllerIndex, const EControllerHand DeviceHand) const =0
 Returns true if the specified device is supposed to be tracked 更多...
 
virtual void SetIsControllerMotionTrackingEnabledByDefault (bool Enable)=0
 Set whether controller tracking is enabled by default or whether controllers must be specifically enabled. 更多...
 

详细描述

Motion Tracking System Management interface

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

成员函数说明

◆ DisableMotionTrackingOfControllersForPlayer()

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

Disable tracking for all controllers of a certain player.

参数
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.

参数
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.

参数
PlayerIndex(in) The index of the player.
Hand(in) The device type.
返回
(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.

返回
(int) number of controllers that can be tracked.

◆ GetMotionTrackingEnabledControllerCount()

virtual int32 IMotionTrackingSystemManagement::GetMotionTrackingEnabledControllerCount ( ) const
pure virtual

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

返回
(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

参数
PlayerIndex(in) The index of the player.
Hand(in) The tracked device type.
返回
(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.

参数
Enable(in) True to enable by default.

该类的文档由以下文件生成: