Blender  V3.3
Public Attributes | List of all members
bNodeSocketTemplate Struct Reference

Compact definition of a node socket. More...

#include <BKE_node.h>

Public Attributes

int type
 
char name [64]
 
float val1
 
float val2
 
float val3
 
float val4
 
float min
 
float max
 
int subtype
 
int flag
 
struct 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 84 of file BKE_node.h.

Member Data Documentation

◆ flag

int bNodeSocketTemplate::flag

Definition at line 90 of file BKE_node.h.

Referenced by node_add_socket_from_template(), and verify_socket_template().

◆ identifier

char bNodeSocketTemplate::identifier[64]

◆ max

float bNodeSocketTemplate::max

Definition at line 88 of file BKE_node.h.

Referenced by node_add_socket_from_template().

◆ min

float bNodeSocketTemplate::min

Definition at line 88 of file BKE_node.h.

Referenced by node_add_socket_from_template().

◆ name

char bNodeSocketTemplate::name[64]

◆ sock

struct bNodeSocket* bNodeSocketTemplate::sock

Definition at line 93 of file BKE_node.h.

Referenced by verify_socket_template_list().

◆ subtype

int bNodeSocketTemplate::subtype

Definition at line 89 of file BKE_node.h.

Referenced by node_add_socket_from_template(), and verify_socket_template().

◆ type

int bNodeSocketTemplate::type

◆ val1

float bNodeSocketTemplate::val1

Definition at line 87 of file BKE_node.h.

Referenced by node_add_socket_from_template().

◆ val2

float bNodeSocketTemplate::val2

Definition at line 87 of file BKE_node.h.

Referenced by node_add_socket_from_template().

◆ val3

float bNodeSocketTemplate::val3

Definition at line 87 of file BKE_node.h.

Referenced by node_add_socket_from_template().

◆ val4

float bNodeSocketTemplate::val4

Definition at line 87 of file BKE_node.h.

Referenced by node_add_socket_from_template().


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