Blender  V2.93
Functions | Variables
node_fn_float_compare.cc File Reference
#include <cmath>
#include "BLI_listbase.h"
#include "BLI_string.h"
#include "RNA_enum_types.h"
#include "UI_interface.h"
#include "UI_resources.h"
#include "node_function_util.hh"

Go to the source code of this file.

Functions

static void geo_node_float_compare_layout (uiLayout *layout, bContext *UNUSED(C), PointerRNA *ptr)
 
static void node_float_compare_update (bNodeTree *UNUSED(ntree), bNode *node)
 
static void node_float_compare_label (bNodeTree *UNUSED(ntree), bNode *node, char *label, int maxlen)
 
static const blender::fn::MultiFunctionget_multi_function (bNode &node)
 
static void node_float_compare_expand_in_mf_network (blender::nodes::NodeMFNetworkBuilder &builder)
 
void register_node_type_fn_float_compare ()
 

Variables

static bNodeSocketTemplate fn_node_float_compare_in []
 
static bNodeSocketTemplate fn_node_float_compare_out []
 

Function Documentation

◆ geo_node_float_compare_layout()

static void geo_node_float_compare_layout ( uiLayout layout,
bContext UNUSEDC,
PointerRNA ptr 
)
static

Definition at line 41 of file node_fn_float_compare.cc.

References ptr, and uiItemR().

Referenced by register_node_type_fn_float_compare().

◆ get_multi_function()

static const blender::fn::MultiFunction& get_multi_function ( bNode node)
static

◆ node_float_compare_expand_in_mf_network()

static void node_float_compare_expand_in_mf_network ( blender::nodes::NodeMFNetworkBuilder builder)
static

◆ node_float_compare_label()

static void node_float_compare_label ( bNodeTree UNUSEDntree,
bNode node,
char *  label,
int  maxlen 
)
static

◆ node_float_compare_update()

static void node_float_compare_update ( bNodeTree UNUSEDntree,
bNode node 
)
static

◆ register_node_type_fn_float_compare()

void register_node_type_fn_float_compare ( void  )

Variable Documentation

◆ fn_node_float_compare_in

bNodeSocketTemplate fn_node_float_compare_in[]
static
Initial value:
= {
{SOCK_FLOAT, N_("A"), 0.0f, 0.0f, 0.0f, 0.0f, -10000.0f, 10000.0f},
{SOCK_FLOAT, N_("B"), 0.0f, 0.0f, 0.0f, 0.0f, -10000.0f, 10000.0f},
{SOCK_FLOAT, N_("Epsilon"), 0.001f, 0.0f, 0.0f, 0.0f, -10000.0f, 10000.0f},
{-1, ""},
}
#define N_(msgid)
@ SOCK_FLOAT

Definition at line 29 of file node_fn_float_compare.cc.

Referenced by register_node_type_fn_float_compare().

◆ fn_node_float_compare_out

bNodeSocketTemplate fn_node_float_compare_out[]
static
Initial value:
= {
{SOCK_BOOLEAN, N_("Result")},
{-1, ""},
}
@ SOCK_BOOLEAN

Definition at line 36 of file node_fn_float_compare.cc.

Referenced by register_node_type_fn_float_compare().