Blender V4.3
V3DSnapCursorData Struct Reference

#include <ED_view3d.hh>

Public Attributes

eSnapMode type_source
 
eSnapMode type_target
 
float loc [3]
 
float nor [3]
 
float obmat [4][4]
 
int elem_index [3]
 
float plane_omat [3][3]
 
bool is_snap_invert
 
bool is_enabled
 

Detailed Description

Definition at line 325 of file ED_view3d.hh.

Member Data Documentation

◆ elem_index

int V3DSnapCursorData::elem_index[3]

◆ is_enabled

bool V3DSnapCursorData::is_enabled

Enabled when snap is activated, even if it didn't find anything.

Definition at line 336 of file ED_view3d.hh.

Referenced by ED_gizmotypes_snap_3d_is_enabled(), v3d_cursor_snap_update(), and view3d_interactive_add_calc_snap().

◆ is_snap_invert

bool V3DSnapCursorData::is_snap_invert

◆ loc

◆ nor

float V3DSnapCursorData::nor[3]

◆ obmat

float V3DSnapCursorData::obmat[4][4]

Definition at line 330 of file ED_view3d.hh.

Referenced by v3d_cursor_snap_update().

◆ plane_omat

float V3DSnapCursorData::plane_omat[3][3]

◆ type_source

eSnapMode V3DSnapCursorData::type_source

◆ type_target


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