Blender V5.3
blender::wmXrController Struct Reference

#include <wm_xr_intern.hh>

Public Attributes

struct wmXrController * next
struct wmXrController * prev
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]
gpu::Batch * model

Detailed Description

Definition at line 204 of file wm_xr_intern.hh.

Member Data Documentation

◆ aim_active

bool blender::wmXrController::aim_active

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

Definition at line 215 of file wm_xr_intern.hh.

◆ aim_mat

float blender::wmXrController::aim_mat[4][4]

Definition at line 217 of file wm_xr_intern.hh.

Referenced by blender::wm_xr_controller_aim_draw().

◆ aim_mat_base

float blender::wmXrController::aim_mat_base[4][4]

Definition at line 218 of file wm_xr_intern.hh.

◆ aim_pose

◆ grip_active

bool blender::wmXrController::grip_active

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

Definition at line 210 of file wm_xr_intern.hh.

Referenced by blender::wm_xr_controller_aim_draw(), blender::wm_xr_controller_model_draw(), and blender::wm_xr_viewfinder_get_controller().

◆ grip_mat

float blender::wmXrController::grip_mat[4][4]

◆ grip_mat_base

float blender::wmXrController::grip_mat_base[4][4]

Definition at line 213 of file wm_xr_intern.hh.

◆ grip_pose

GHOST_XrPose blender::wmXrController::grip_pose

◆ model

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

Controller model.

Definition at line 221 of file wm_xr_intern.hh.

Referenced by blender::wm_xr_controller_model_draw().

◆ next

struct wmXrController* blender::wmXrController::next

Definition at line 205 of file wm_xr_intern.hh.

◆ prev

struct wmXrController * blender::wmXrController::prev

Definition at line 205 of file wm_xr_intern.hh.

◆ subaction_path

char blender::wmXrController::subaction_path[64]

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