Blender  V2.93
Public Attributes | List of all members
PlacementCursor Struct Reference

Public Attributes

wmGizmoGroupgzgroup
 
bool do_draw
 
void * paintcursor
 
int plane_axis
 
float matrix [4][4]
 
int mval_prev [2]
 
float persmat_prev [4][4]
 

Detailed Description

Definition at line 1951 of file view3d_placement.c.

Member Data Documentation

◆ do_draw

bool PlacementCursor::do_draw

Enable this while the modal operator is running, so the preview-plane doesn't show at the same time time as add-object preview shape since it's distracting & not helpful.

Definition at line 1963 of file view3d_placement.c.

Referenced by cursor_plane_draw(), and preview_plane_cursor_visible_set().

◆ gzgroup

wmGizmoGroup* PlacementCursor::gzgroup

Back-pointer to the gizmo-group that uses this cursor. Needed so we know that the cursor belongs to the region.

Definition at line 1956 of file view3d_placement.c.

Referenced by cursor_plane_draw(), preview_plane_cursor_setup(), and preview_plane_cursor_visible_set().

◆ matrix

float PlacementCursor::matrix[4][4]

Definition at line 1968 of file view3d_placement.c.

Referenced by cursor_plane_draw().

◆ mval_prev

int PlacementCursor::mval_prev[2]

Definition at line 1971 of file view3d_placement.c.

Referenced by cursor_plane_draw().

◆ paintcursor

void* PlacementCursor::paintcursor

Definition at line 1965 of file view3d_placement.c.

Referenced by preview_plane_cursor_free(), and preview_plane_cursor_setup().

◆ persmat_prev

float PlacementCursor::persmat_prev[4][4]

Definition at line 1972 of file view3d_placement.c.

Referenced by cursor_plane_draw().

◆ plane_axis

int PlacementCursor::plane_axis

Definition at line 1967 of file view3d_placement.c.

Referenced by cursor_plane_draw().


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