Blender V4.3
blender::nodes::node_fn_compare_cc Namespace Reference

Classes

class  SocketSearchOp
 

Functions

static void node_declare (NodeDeclarationBuilder &b)
 
static void node_layout (uiLayout *layout, bContext *, PointerRNA *ptr)
 
static void node_update (bNodeTree *ntree, bNode *node)
 
static void node_init (bNodeTree *, bNode *node)
 
static std::optional< eNodeSocketDatatypeget_compare_type_for_operation (const eNodeSocketDatatype type, const NodeCompareOperation operation)
 
static void node_gather_link_searches (GatherLinkSearchOpParams &params)
 
static void node_label (const bNodeTree *, const bNode *node, char *label, int label_maxncpy)
 
static float component_average (float3 a)
 
static const mf::MultiFunctionget_multi_function (const bNode &node)
 
static void node_build_multi_function (NodeMultiFunctionBuilder &builder)
 
static void data_type_update (Main *bmain, Scene *scene, PointerRNA *ptr)
 
static void node_rna (StructRNA *srna)
 
static void node_register ()
 

Function Documentation

◆ component_average()

static float blender::nodes::node_fn_compare_cc::component_average ( float3 a)
static

Definition at line 204 of file node_fn_compare.cc.

Referenced by get_multi_function().

◆ data_type_update()

static void blender::nodes::node_fn_compare_cc::data_type_update ( Main * bmain,
Scene * scene,
PointerRNA * ptr )
static

◆ get_compare_type_for_operation()

static std::optional< eNodeSocketDatatype > blender::nodes::node_fn_compare_cc::get_compare_type_for_operation ( const eNodeSocketDatatype type,
const NodeCompareOperation operation )
static

◆ get_multi_function()

◆ node_build_multi_function()

static void blender::nodes::node_fn_compare_cc::node_build_multi_function ( NodeMultiFunctionBuilder & builder)
static

◆ node_declare()

◆ node_gather_link_searches()

◆ node_init()

static void blender::nodes::node_fn_compare_cc::node_init ( bNodeTree * ,
bNode * node )
static

Definition at line 99 of file node_fn_compare.cc.

References data, NODE_COMPARE_GREATER_THAN, NODE_COMPARE_MODE_ELEMENT, and SOCK_FLOAT.

Referenced by node_register().

◆ node_label()

static void blender::nodes::node_fn_compare_cc::node_label ( const bNodeTree * ,
const bNode * node,
char * label,
int label_maxncpy )
static

◆ node_layout()

static void blender::nodes::node_fn_compare_cc::node_layout ( uiLayout * layout,
bContext * ,
PointerRNA * ptr )
static

Definition at line 59 of file node_fn_compare.cc.

References PointerRNA::data, ptr, SOCK_VECTOR, UI_ITEM_NONE, and uiItemR().

Referenced by node_register().

◆ node_register()

◆ node_rna()

◆ node_update()