unreal.WindowsMixedRealityFunctionLibrary
¶
-
class
unreal.
WindowsMixedRealityFunctionLibrary
(outer=None, name='None')¶ Bases:
unreal.BlueprintFunctionLibrary
Windows Mixed Reality Extensions Function Library
C++ Source:
Plugin: WindowsMixedReality
Module: WindowsMixedRealityHMD
File: WindowsMixedRealityFunctionLibrary.h
-
classmethod
get_controller_tracking_status
(hand) → HMDTrackingStatus¶ Returns tracking state for the controller deprecated: Use GetMotionControllerData TrackingStatus
- Parameters
hand (ControllerHand) –
- Returns
- Return type
-
classmethod
get_pointer_pose_info
(hand) → PointerPoseInfo¶ Returns the pose information to determine what a WMR device is pointing at. deprecated: Use GetMotionControllerData Aim members
- Parameters
hand (ControllerHand) –
- Returns
- Return type
-
classmethod
get_version_string
() → str¶ Returns name of WindowsMR device type. deprecated: Use Generic HMD library version
- Returns
- Return type
Returns true if the button was clicked. deprecated: Use Input Action Mappings to get events
- Parameters
hand (ControllerHand) –
button (HMDInputControllerButtons) –
- Returns
- Return type
Returns true if the button is held down. deprecated: Use Input Action Mappings to gets events
- Parameters
hand (ControllerHand) –
button (HMDInputControllerButtons) –
- Returns
- Return type
-
classmethod
is_currently_immersive
() → bool¶ Returns true if currently rendering immersive, or false if rendering as a slate.
- Returns
- Return type
-
classmethod
is_display_opaque
() → bool¶ Returns true if running on a WMR VR device, false if running on HoloLens. deprecated: Use GetXRSystemFlags and check for bIsAR
- Returns
- Return type
-
classmethod
is_grasped
(hand) → bool¶ Returns true if an input device detects a grasp/grab action. deprecated: Use Input Action Mappings to get left or right grip events. Also available in GetMotionControllerData
- Parameters
hand (ControllerHand) –
- Returns
- Return type
-
classmethod
is_select_pressed
(hand) → bool¶ Returns true if a hand or motion controller is experiencing a primary Select press. deprecated: Use Input Action Mappings to get left or right trigger events
- Parameters
hand (ControllerHand) –
- Returns
- Return type
-
classmethod
is_tracking_available
() → bool¶ Returns true if a WMR VR device or HoloLens are tracking the environment. deprecated: Use GetHMDData TrackingStatus member
- Returns
- Return type
-
classmethod
lock_mouse_to_center
(locked) → None¶ Lock Mouse to Center deprecated: No longer needed
- Parameters
locked (bool) –