unreal.XRMotionControllerData
¶
- class unreal.XRMotionControllerData(valid: bool = False, device_name: Name = 'None', application_instance_id: Guid = [], device_visual_type: XRVisualType = Ellipsis, hand_index: ControllerHand = Ellipsis, tracking_status: TrackingStatus = Ellipsis, grip_position: Vector = Ellipsis, grip_rotation: Quat = Ellipsis, aim_position: Vector = Ellipsis, aim_rotation: Quat = Ellipsis, hand_key_positions: Array[Vector] = [], hand_key_rotations: Array[Quat] = [], hand_key_radii: Array[float] = [], is_grasped: bool = False)¶
Bases:
StructBase
XRMotion Controller Data
C++ Source:
Module: HeadMountedDisplay
File: HeadMountedDisplayTypes.h
Editor Properties: (see get_editor_property/set_editor_property)
aim_position
(Vector): [Read-Write] Aim Position: for hand controllers, provides a more steady vector based on the elbowaim_rotation
(Quat): [Read-Write] Aim Rotationapplication_instance_id
(Guid): [Read-Write] Application Instance IDdevice_name
(Name): [Read-Write] Device Namedevice_visual_type
(XRVisualType): [Read-Write] Device Visual Typegrip_position
(Vector): [Read-Write] Grip Positiongrip_rotation
(Quat): [Read-Write] Grip Rotationhand_index
(ControllerHand): [Read-Write] Hand Indexhand_key_positions
(Array[Vector]): [Read-Write] Hand Key Positions: The indices of this array are the values of EHandKeypoint (Palm, Wrist, ThumbMetacarpal, etc).hand_key_radii
(Array[float]): [Read-Write] Hand Key Radii: The indices of this array are the values of EHandKeypoint (Palm, Wrist, ThumbMetacarpal, etc).hand_key_rotations
(Array[Quat]): [Read-Write] Hand Key Rotations: The indices of this array are the values of EHandKeypoint (Palm, Wrist, ThumbMetacarpal, etc).is_grasped
(bool): [Read-Write] Is Graspedtracking_status
(TrackingStatus): [Read-Write] Tracking Statusvalid
(bool): [Read-Write] Valid
- property aim_position: Vector¶
[Read-Only] Aim Position: for hand controllers, provides a more steady vector based on the elbow
- Type:
(Vector)
- property device_visual_type: XRVisualType¶
[Read-Only] Device Visual Type
- Type:
- property hand_index: ControllerHand¶
[Read-Only] Hand Index
- Type:
- property hand_key_positions: Array[Vector]¶
[Read-Only] Hand Key Positions: The indices of this array are the values of EHandKeypoint (Palm, Wrist, ThumbMetacarpal, etc).
- property hand_key_radii: Array[float]¶
[Read-Only] Hand Key Radii: The indices of this array are the values of EHandKeypoint (Palm, Wrist, ThumbMetacarpal, etc).
- property hand_key_rotations: Array[Quat]¶
[Read-Only] Hand Key Rotations: The indices of this array are the values of EHandKeypoint (Palm, Wrist, ThumbMetacarpal, etc).
- property tracking_status: TrackingStatus¶
[Read-Only] Tracking Status
- Type: