Blender V4.3
blender::bke::bNodeSocketTemplate Struct Reference

Compact definition of a node socket. More...

#include <BKE_node.hh>

Public Attributes

int type
 
char name [64]
 
float val1
 
float val2
 
float val3
 
float val4
 
float min
 
float max
 
int subtype
 
int flag
 
bNodeSocketsock
 
char identifier [64]
 

Detailed Description

Compact definition of a node socket.

Can be used to quickly define a list of static sockets for a node, which are added to each new node of that type.

Deprecated
This struct is used by C nodes to define templates as simple static struct lists. These are converted to the new template collections in RNA types automatically.

Definition at line 103 of file BKE_node.hh.

Member Data Documentation

◆ flag

int blender::bke::bNodeSocketTemplate::flag

Definition at line 109 of file BKE_node.hh.

Referenced by node_add_socket_from_template(), and verify_socket_template().

◆ identifier

◆ max

float blender::bke::bNodeSocketTemplate::max

Definition at line 107 of file BKE_node.hh.

Referenced by node_add_socket_from_template().

◆ min

float blender::bke::bNodeSocketTemplate::min

Definition at line 107 of file BKE_node.hh.

Referenced by node_add_socket_from_template().

◆ name

char blender::bke::bNodeSocketTemplate::name[64]

◆ sock

bNodeSocket* blender::bke::bNodeSocketTemplate::sock

Definition at line 112 of file BKE_node.hh.

Referenced by verify_socket_template_list().

◆ subtype

int blender::bke::bNodeSocketTemplate::subtype

Definition at line 108 of file BKE_node.hh.

Referenced by node_add_socket_from_template(), and verify_socket_template().

◆ type

◆ val1

float blender::bke::bNodeSocketTemplate::val1

Definition at line 106 of file BKE_node.hh.

Referenced by node_add_socket_from_template().

◆ val2

float blender::bke::bNodeSocketTemplate::val2

Definition at line 106 of file BKE_node.hh.

Referenced by node_add_socket_from_template().

◆ val3

float blender::bke::bNodeSocketTemplate::val3

Definition at line 106 of file BKE_node.hh.

Referenced by node_add_socket_from_template().

◆ val4

float blender::bke::bNodeSocketTemplate::val4

Definition at line 106 of file BKE_node.hh.

Referenced by node_add_socket_from_template().


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