Blender V4.3
wmXrController Struct Reference

#include <wm_xr_intern.hh>

Public Attributes

struct wmXrControllernext
 
struct wmXrControllerprev
 
char subaction_path [64]
 
bool grip_active
 
GHOST_XrPose grip_pose
 
float grip_mat [4][4]
 
float grip_mat_base [4][4]
 
bool aim_active
 
GHOST_XrPose aim_pose
 
float aim_mat [4][4]
 
float aim_mat_base [4][4]
 
blender::gpu::Batch * model
 

Detailed Description

Definition at line 125 of file wm_xr_intern.hh.

Member Data Documentation

◆ aim_active

bool wmXrController::aim_active

Pose (in world space) that represents the controller's aiming source.

Definition at line 136 of file wm_xr_intern.hh.

◆ aim_mat

float wmXrController::aim_mat[4][4]

Definition at line 138 of file wm_xr_intern.hh.

◆ aim_mat_base

float wmXrController::aim_mat_base[4][4]

Definition at line 139 of file wm_xr_intern.hh.

◆ aim_pose

GHOST_XrPose wmXrController::aim_pose

Definition at line 137 of file wm_xr_intern.hh.

Referenced by wm_xr_session_controller_aim_pose_find().

◆ grip_active

bool wmXrController::grip_active

Pose (in world space) that represents the user's hand when holding the controller.

Definition at line 131 of file wm_xr_intern.hh.

◆ grip_mat

float wmXrController::grip_mat[4][4]

Definition at line 133 of file wm_xr_intern.hh.

◆ grip_mat_base

float wmXrController::grip_mat_base[4][4]

Definition at line 134 of file wm_xr_intern.hh.

◆ grip_pose

GHOST_XrPose wmXrController::grip_pose

Definition at line 132 of file wm_xr_intern.hh.

◆ model

blender::gpu::Batch* wmXrController::model

Controller model.

Definition at line 142 of file wm_xr_intern.hh.

◆ next

struct wmXrController* wmXrController::next

Definition at line 126 of file wm_xr_intern.hh.

◆ prev

struct wmXrController * wmXrController::prev

Definition at line 126 of file wm_xr_intern.hh.

◆ subaction_path

char wmXrController::subaction_path[64]

OpenXR user path identifier.

Definition at line 128 of file wm_xr_intern.hh.


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