Blender  V3.3
Public Attributes | List of all members
blender::ed::space_node::bNodeLinkDrag Struct Reference

#include <node_intern.hh>

Public Attributes

Vector< bNodeLink * > links
 
bool from_multi_input_socket
 
eNodeSocketInOut in_out
 
voiddraw_handle
 
bNodeLinklast_picked_multi_input_socket_link
 
bNodelast_node_hovered_while_dragging_a_link
 
std::array< int, 2 > cursor
 
bNodestart_node
 
bNodeSocketstart_socket
 
int start_link_count
 
View2DEdgePanData pan_data
 

Detailed Description

Temporary data used in node link drag modal operator.

Definition at line 41 of file node_intern.hh.

Member Data Documentation

◆ cursor

std::array<int, 2> blender::ed::space_node::bNodeLinkDrag::cursor

◆ draw_handle

void* blender::ed::space_node::bNodeLinkDrag::draw_handle

Draw handler for the "+" icon when dragging a link in empty space.

Definition at line 48 of file node_intern.hh.

Referenced by blender::ed::space_node::draw_draglink_tooltip_activate(), and blender::ed::space_node::draw_draglink_tooltip_deactivate().

◆ from_multi_input_socket

bool blender::ed::space_node::bNodeLinkDrag::from_multi_input_socket

Definition at line 44 of file node_intern.hh.

Referenced by blender::ed::space_node::node_link_modal().

◆ in_out

eNodeSocketInOut blender::ed::space_node::bNodeLinkDrag::in_out

◆ last_node_hovered_while_dragging_a_link

bNode* blender::ed::space_node::bNodeLinkDrag::last_node_hovered_while_dragging_a_link

Temporarily stores the last hovered socket for multi-input socket operator. Store it to recalculate sorting after it is no longer hovered.

Definition at line 57 of file node_intern.hh.

Referenced by blender::ed::space_node::node_link_find_socket(), and blender::ed::space_node::pick_link().

◆ last_picked_multi_input_socket_link

bNodeLink* blender::ed::space_node::bNodeLinkDrag::last_picked_multi_input_socket_link

Temporarily stores the last picked link from multi-input socket operator.

Definition at line 51 of file node_intern.hh.

Referenced by blender::ed::space_node::pick_input_link_by_link_intersect().

◆ links

Vector<bNodeLink *> blender::ed::space_node::bNodeLinkDrag::links

◆ pan_data

View2DEdgePanData blender::ed::space_node::bNodeLinkDrag::pan_data

◆ start_link_count

int blender::ed::space_node::bNodeLinkDrag::start_link_count

The number of links connected to the start_socket when the drag started.

Definition at line 67 of file node_intern.hh.

Referenced by blender::ed::space_node::should_create_drag_link_search_menu().

◆ start_node

bNode* blender::ed::space_node::bNodeLinkDrag::start_node

The node the drag started at.

Definition at line 63 of file node_intern.hh.

Referenced by blender::ed::space_node::should_create_drag_link_search_menu().

◆ start_socket

bNodeSocket* blender::ed::space_node::bNodeLinkDrag::start_socket

The socket the drag started at.

Definition at line 65 of file node_intern.hh.

Referenced by blender::ed::space_node::should_create_drag_link_search_menu().


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