Blender V4.3
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
 

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.

◆ base_pose_location

float XrSessionSettings::base_pose_location[3]

Definition at line 24 of file DNA_xr_types.h.

◆ 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().

◆ base_pose_type

char XrSessionSettings::base_pose_type

Definition at line 21 of file DNA_xr_types.h.

◆ base_scale

float XrSessionSettings::base_scale

Definition at line 19 of file DNA_xr_types.h.

Referenced by wm_xr_navigation_fly_modal().

◆ 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_raycast_update(), 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.

◆ 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(), and wm_xr_draw_view().

◆ flag

int XrSessionSettings::flag

Definition at line 36 of file DNA_xr_types.h.

Referenced by wm_xr_draw_matrices_create().

◆ object_type_exclude_select

int XrSessionSettings::object_type_exclude_select

Definition at line 40 of file DNA_xr_types.h.

◆ 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.

◆ 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_exit(), and write_wm_xr_data().


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