Blender V5.3
blender::wmXrDrawData Struct Reference

#include <wm_xr_intern.hh>

Public Attributes

wmXrData * xr_data
wmXrSurfaceData * surface_data
GHOST_XrPose base_pose
float base_scale
float eye_position_ofs [3]

Detailed Description

Definition at line 185 of file wm_xr_intern.hh.

Member Data Documentation

◆ base_pose

GHOST_XrPose blender::wmXrDrawData::base_pose

The pose (location + rotation) to which eye deltas will be applied to when drawing (world space). With positional tracking enabled, it should be the same as the base pose, when disabled it also contains a location delta from the moment the option was toggled.

Definition at line 194 of file wm_xr_intern.hh.

Referenced by blender::wm_xr_draw_matrices_create(), blender::wm_xr_session_draw_data_populate(), and blender::wm_xr_session_state_update().

◆ base_scale

float blender::wmXrDrawData::base_scale

◆ eye_position_ofs

float blender::wmXrDrawData::eye_position_ofs[3]

Offset to subtract from the OpenXR eye and viewer pose to get the wanted effective pose (e.g. a pose exactly at the landmark position).

Definition at line 201 of file wm_xr_intern.hh.

Referenced by blender::wm_xr_draw_matrices_create(), blender::wm_xr_session_draw_data_update(), and blender::wm_xr_session_state_update().

◆ surface_data

wmXrSurfaceData* blender::wmXrDrawData::surface_data

◆ xr_data


The documentation for this struct was generated from the following file: