Blender V5.0
XrSessionSettings Struct Reference

#include <DNA_xr_types.h>

Public Attributes

struct View3DShading shading
float base_scale
char _pad [3]
char base_pose_type
Objectbase_pose_object
float base_pose_location [3]
float base_pose_angle
char draw_flags
char controller_draw_style
char _pad2 [2]
float clip_start
float clip_end
int flag
int object_type_exclude_viewport
int object_type_exclude_select
float fly_speed
float padding

Detailed Description

Definition at line 15 of file DNA_xr_types.h.

Member Data Documentation

◆ _pad

char XrSessionSettings::_pad[3]

Definition at line 20 of file DNA_xr_types.h.

◆ _pad2

char XrSessionSettings::_pad2[2]

Definition at line 31 of file DNA_xr_types.h.

◆ base_pose_angle

float XrSessionSettings::base_pose_angle

Definition at line 25 of file DNA_xr_types.h.

Referenced by wm_xr_session_base_pose_calc().

◆ base_pose_location

float XrSessionSettings::base_pose_location[3]

Definition at line 24 of file DNA_xr_types.h.

Referenced by wm_xr_session_base_pose_calc().

◆ base_pose_object

Object* XrSessionSettings::base_pose_object

Object to take the location and rotation as base position from.

Definition at line 23 of file DNA_xr_types.h.

Referenced by window_manager_foreach_id(), wm_xr_session_base_pose_calc(), wm_xr_session_draw_data_needs_reset_to_base_pose(), and wm_xr_session_state_update().

◆ base_pose_type

char XrSessionSettings::base_pose_type

◆ base_scale

◆ clip_end

◆ clip_start

float XrSessionSettings::clip_start

Clipping distance.

Definition at line 34 of file DNA_xr_types.h.

Referenced by wm_xr_draw_matrices_create(), wm_xr_draw_view(), and WM_xr_session_state_nav_scale_set().

◆ controller_draw_style

char XrSessionSettings::controller_draw_style

Draw style for controller visualization.

Definition at line 30 of file DNA_xr_types.h.

Referenced by wm_xr_controller_aim_draw(), and wm_xr_controller_model_draw().

◆ draw_flags

char XrSessionSettings::draw_flags

View3D draw flags (V3D_OFSDRAW_NONE, V3D_OFSDRAW_SHOW_ANNOTATION, ...).

Definition at line 28 of file DNA_xr_types.h.

Referenced by wm_xr_disable_passthrough(), wm_xr_draw_view(), and wm_xr_passthrough_enabled().

◆ flag

◆ fly_speed

float XrSessionSettings::fly_speed

Fly speed.

Definition at line 43 of file DNA_xr_types.h.

Referenced by blo_update_defaults_windowmanager(), and wm_xr_navigation_fly_modal().

◆ object_type_exclude_select

int XrSessionSettings::object_type_exclude_select

Definition at line 40 of file DNA_xr_types.h.

Referenced by wm_xr_draw_view(), and wm_xr_session_actions_update().

◆ object_type_exclude_viewport

int XrSessionSettings::object_type_exclude_viewport

Object type settings to apply to VR view (unlike shading, not shared with window 3D-View).

Definition at line 39 of file DNA_xr_types.h.

Referenced by wm_xr_draw_view(), and wm_xr_session_actions_update().

◆ padding

float XrSessionSettings::padding

Definition at line 44 of file DNA_xr_types.h.

◆ shading

struct View3DShading XrSessionSettings::shading

Shading settings, struct shared with 3D-View so settings are the same.

Definition at line 17 of file DNA_xr_types.h.

Referenced by direct_link_wm_xr_data(), wm_xr_data_free(), wm_xr_draw_view(), and write_wm_xr_data().


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