XrEventData(bpy_struct)
base class — bpy_struct
- class bpy.types.XrEventData(bpy_struct)
XR Data for Window Manager Event
- action
XR action name (default “”, readonly, never None)
- Type:
str
- action_set
XR action set name (default “”, readonly, never None)
- Type:
str
- bimanual
Whether bimanual interaction is occurring (default False, readonly)
- Type:
bool
- controller_location
Location of the action’s corresponding controller aim in world space (array of 3 items, in [-inf, inf], default (0.0, 0.0, 0.0), readonly)
- Type:
- controller_location_other
Controller aim location of the other user path for bimanual actions (array of 3 items, in [-inf, inf], default (0.0, 0.0, 0.0), readonly)
- Type:
- controller_rotation
Rotation of the action’s corresponding controller aim in world space (array of 4 items, in [-inf, inf], default (0.0, 0.0, 0.0, 0.0), readonly)
- Type:
- controller_rotation_other
Controller aim rotation of the other user path for bimanual actions (array of 4 items, in [-inf, inf], default (0.0, 0.0, 0.0, 0.0), readonly)
- Type:
- float_threshold
Input threshold for float/2D vector actions (in [-inf, inf], default 0.0, readonly)
- Type:
float
- state
XR action values corresponding to type (array of 2 items, in [-inf, inf], default (0.0, 0.0), readonly)
- Type:
bpy_prop_array[float]
- state_other
State of the other user path for bimanual actions (array of 2 items, in [-inf, inf], default (0.0, 0.0), readonly)
- Type:
bpy_prop_array[float]
- type
XR action type (default
'FLOAT', readonly)FLOATFloat – Float action, representing either a digital or analog button.VECTOR2DVector2D – 2D float vector action, representing a thumbstick or trackpad.POSEPose – 3D pose action, representing a controller’s location and rotation.VIBRATIONVibration – Haptic vibration output action, to be applied with a duration, frequency, and amplitude.
- Type:
Literal[‘FLOAT’, ‘VECTOR2D’, ‘POSE’, ‘VIBRATION’]
- user_path
User path of the action. E.g. “/user/hand/left” (default “”, readonly, never None)
- Type:
str
- user_path_other
Other user path, for bimanual actions. E.g. “/user/hand/right” (default “”, readonly, never None)
- Type:
str
- classmethod bl_rna_get_subclass(id, default=None, /)
- Parameters:
id (str) – The RNA type identifier.
default (
bpy.types.Struct| None) – The value to return when not found.
- Returns:
The RNA type or default when not found.
- Return type: