Blender V5.0
V3DSnapCursorState Struct Reference

#include <ED_view3d.hh>

Public Attributes

eV3DSnapCursor flag
uchar source_color [4]
uchar target_color [4]
uchar color_box [4]
floatprevpoint
float box_dimensions [3]
bool draw_point
bool draw_plane
bool draw_box
bool(* poll )(ARegion *region, void *custom_poll_data)
void * poll_data

Detailed Description

Definition at line 352 of file ED_view3d.hh.

Member Data Documentation

◆ box_dimensions

float V3DSnapCursorState::box_dimensions[3]

Definition at line 359 of file ED_view3d.hh.

◆ color_box

uchar V3DSnapCursorState::color_box[4]

Definition at line 357 of file ED_view3d.hh.

◆ draw_box

bool V3DSnapCursorState::draw_box

◆ draw_plane

◆ draw_point

bool V3DSnapCursorState::draw_point

Definition at line 360 of file ED_view3d.hh.

Referenced by snap_gizmo_setup(), and view3d_interactive_add_begin().

◆ flag

eV3DSnapCursor V3DSnapCursorState::flag

Definition at line 354 of file ED_view3d.hh.

Referenced by ED_gizmotypes_snap_3d_flag_set().

◆ poll

bool(* V3DSnapCursorState::poll) (ARegion *region, void *custom_poll_data)

Definition at line 364 of file ED_view3d.hh.

Referenced by snap_gizmo_setup(), and WIDGETGROUP_placement_setup().

◆ poll_data

void* V3DSnapCursorState::poll_data

Definition at line 365 of file ED_view3d.hh.

Referenced by snap_gizmo_setup(), and WIDGETGROUP_placement_setup().

◆ prevpoint

float* V3DSnapCursorState::prevpoint

Definition at line 358 of file ED_view3d.hh.

Referenced by gizmo_snap_rna_prevpoint_get_fn().

◆ source_color

uchar V3DSnapCursorState::source_color[4]

Definition at line 355 of file ED_view3d.hh.

◆ target_color

uchar V3DSnapCursorState::target_color[4]

Definition at line 356 of file ED_view3d.hh.


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