user: Show practical ways to work with Bpy.Types.Xrsessionstate in a Blender add-on or script – include code.

assistant: eturns : Location, Controller grip location Return type : mathutils.Vector of 3 items in [-inf, inf], (never None) classmethod controller_grip_rotation_get ( context , index ) ¶ Get the last known controller grip rotation (quaternion) in world space Parameters : index ( int in [ 0 , 255 ] ) – Index, Controller index Returns : Rotation, Controller grip quaternion rotation Return type : mathutils.Quaternion rotation of 4 items in [-inf, inf], (never None) classmethod controller_aim_location_get ( context , index ) ¶ Get the last known controller aim location in world space Parameters : index ( int in [ 0 , 255 ] ) – Index, Controller index Returns : Location, Controller aim location Return type : mathutils.Vector of 3 items in [-inf, inf], (never None) classmethod controller_aim_rotation_get ( context , index ) ¶ Get the last known controller aim rotation (quaternion) in world space Parameters : index ( int in [ 0 , 255 ] ) – Index, Controller index Returns : Rotation, Controller aim quaternion rotation Return type : mathutils.Quaternion rotation of 4 items in [-inf, inf], (never None) classmethod bl_rna_get_subclass ( id , default = None , / ) ¶ Parameters : id ( str ) – The RNA type identifier. Returns : The RNA type or default when not found. Return type : bpy.types.Struct subclass classmethod bl_rna_get_subclass_py ( id , default = None , / ) ¶ Parameters : id ( str ) – The RNA type identifier. Returns : The class or default when not found. Return type : type Inherited Properties ¶ bpy_struct.id_data Inherited Functions ¶ bpy_struct.as_pointer bpy_struct.driver_add bpy_struct.driver_remove bpy_struct.get bpy_struct.id_properties_clear bpy_struct.id_properties_ensure bpy_struct.id_properties_ui bpy_struct.is_property_hidden bpy_struct.is_property_overridable_library bpy_struct.is_property_readonly bpy_struct.is_property_set bpy_struct.items bpy_struct.keyframe_delete bpy_struct.keyframe_insert bpy_struct.keys bpy_struct.path_from_id bpy_struct.path_from_module bpy_struct.path_resolve bpy_struct.pop bpy_struct.property_overridable_library_set bpy_struct.property_unset bpy_struct.rna_ancestors bpy_struct.type_recast bpy_struct.values References ¶ WindowManager.xr_session_state XrActionMaps.find XrActionMaps.new XrActionMaps.new_from_actionmap XrActionMaps.remove Next XrUserPath(bpy_struct) Previous XrSessionSettings(bpy_struct) Copyright &#169; Blender Authors Made with Furo Report issue on this page On this page XrSessionState(bpy_struct) XrSessionState XrSessionState.actionmaps XrSessionState.active_actionmap XrSessionState.navigation_location XrSessionState.navigation_rotation XrSessionState.navigation_scale XrSessionState.selected_actionmap XrSessionState.viewer_pose_location XrSessionState.viewer_pose_rotation XrSessionState.is_running() XrSessionState.reset_to_base_pose() XrSessionState.action_set_create() XrSessionState.action_create() XrSessionState.action_binding_create() XrSessionState.active_action_set_set() XrSessionState.controller_pose_actions_set() XrSessionState.action_state_get() XrSessionState.haptic_action_apply() XrSessionState.haptic_action_stop() XrSessionState.controller_grip_location_get() XrSessionState.controller_grip_rotation_get() XrSessionState.controller_aim_location_get() XrSessionState.controller_aim_rotation_get() XrSessionState.bl_rna_get_subclass() XrSessionState.bl_rna_get_subclass_py() Inherited Properties Inherited Functions References