Blender  V3.3
Public Attributes | List of all members
wmXrDrawData Struct Reference

#include <wm_xr_intern.h>

Public Attributes

struct Scenescene
 
struct Depsgraphdepsgraph
 
wmXrDataxr_data
 
wmXrSurfaceDatasurface_data
 
GHOST_XrPose base_pose
 
float base_scale
 
float eye_position_ofs [3]
 

Detailed Description

Definition at line 99 of file wm_xr_intern.h.

Member Data Documentation

◆ base_pose

GHOST_XrPose 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 109 of file wm_xr_intern.h.

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

◆ base_scale

float wmXrDrawData::base_scale

Base scale (uniform, world space).

Definition at line 111 of file wm_xr_intern.h.

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

◆ depsgraph

struct Depsgraph* wmXrDrawData::depsgraph

Definition at line 101 of file wm_xr_intern.h.

Referenced by wm_xr_draw_view(), and wm_xr_session_draw_data_populate().

◆ eye_position_ofs

float 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 114 of file wm_xr_intern.h.

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

◆ scene

struct Scene* wmXrDrawData::scene

Definition at line 100 of file wm_xr_intern.h.

Referenced by wm_xr_draw_view(), and wm_xr_session_draw_data_populate().

◆ surface_data

wmXrSurfaceData* wmXrDrawData::surface_data

Definition at line 104 of file wm_xr_intern.h.

Referenced by wm_xr_draw_view(), and wm_xr_session_draw_data_populate().

◆ xr_data

wmXrData* wmXrDrawData::xr_data

Definition at line 103 of file wm_xr_intern.h.

Referenced by wm_xr_draw_view(), and wm_xr_session_draw_data_populate().


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