|
Blender V5.0
|
Functions | |
| static void | node_declare (NodeDeclarationBuilder &b) |
| static void | node_layout (uiLayout *layout, bContext *, PointerRNA *ptr) |
| static void | fn_node_random_value_init (bNodeTree *, bNode *node) |
| static void | fn_node_random_value_update (bNodeTree *ntree, bNode *node) |
| static std::optional< eCustomDataType > | node_type_from_other_socket (const bNodeSocket &socket) |
| static void | node_gather_link_search_ops (GatherLinkSearchOpParams ¶ms) |
| static void | node_build_multi_function (NodeMultiFunctionBuilder &builder) |
| static void | node_register () |
|
static |
Definition at line 48 of file node_fn_random_value.cc.
References CD_PROP_FLOAT, data, MEM_callocN(), and bNode::storage.
Referenced by node_register().
|
static |
Definition at line 55 of file node_fn_random_value.cc.
References CD_PROP_BOOL, CD_PROP_FLOAT, CD_PROP_FLOAT3, CD_PROP_INT32, NodeRandomValue::data_type, ListBase::first, bNode::inputs, bNodeSocket::next, blender::bke::node_set_socket_availability(), and bNode::outputs.
Referenced by node_register().
|
static |
Definition at line 136 of file node_fn_random_value.cc.
References BLI_assert_unreachable, CD_PROP_BOOL, CD_PROP_FLOAT, CD_PROP_FLOAT3, CD_PROP_INT32, NodeRandomValue::data_type, blender::noise::hash(), hash, blender::noise::hash_to_float(), blender::nodes::NodeMultiFunctionBuilder::node(), seed, blender::nodes::NodeMultiFunctionBuilder::set_matching_fn(), x, y, and z().
Referenced by node_register().
|
static |
Definition at line 19 of file node_fn_random_value.cc.
References b, CD_PROP_BOOL, blender::nodes::decl::Float::default_value, blender::nodes::decl::Int::default_value, blender::nodes::decl::Vector::default_value, max, min, node_declare(), NODE_DEFAULT_INPUT_ID_INDEX_FIELD, and PROP_FACTOR.
Referenced by node_declare(), and node_register().
|
static |
Definition at line 105 of file node_fn_random_value.cc.
References CD_PROP_FLOAT, CD_PROP_FLOAT3, CD_PROP_INT32, ELEM, IFACE_, blender::nodes::NodeDeclaration::inputs, node_type_from_other_socket(), params, blender::nodes::search_link_ops_for_declarations(), and SOCK_IN.
Referenced by node_register().
|
static |
Definition at line 43 of file node_fn_random_value.cc.
References uiLayout::prop(), ptr, and UI_ITEM_NONE.
Referenced by node_register().
|
static |
Definition at line 197 of file node_fn_random_value.cc.
References blender::bke::bNodeType::build_multi_function, blender::bke::bNodeType::declare, blender::bke::bNodeType::draw_buttons, blender::bke::bNodeType::enum_name_legacy, FN_NODE_RANDOM_VALUE, fn_node_random_value_init(), fn_node_random_value_update(), fn_node_type_base(), blender::bke::bNodeType::gather_link_search_ops, blender::bke::bNodeType::initfunc, blender::bke::bNodeType::nclass, node_build_multi_function(), NODE_CLASS_CONVERTER, node_copy_standard_storage(), node_declare(), node_free_standard_storage(), node_gather_link_search_ops(), node_layout(), blender::bke::node_register_type(), blender::bke::node_type_storage(), blender::bke::bNodeType::ui_description, blender::bke::bNodeType::ui_name, and blender::bke::bNodeType::updatefunc.
|
static |
Definition at line 87 of file node_fn_random_value.cc.
References CD_PROP_BOOL, CD_PROP_FLOAT, CD_PROP_FLOAT3, CD_PROP_INT32, SOCK_BOOLEAN, SOCK_FLOAT, SOCK_INT, SOCK_RGBA, SOCK_ROTATION, SOCK_VECTOR, and bNodeSocket::type.
Referenced by node_gather_link_search_ops().