13 b.use_custom_socket_order();
14 b.allow_any_socket_order();
23 static auto fn = mf::build::SI2_SO<float3, float4x4, float3>(
33 ntype.
ui_name =
"Project Point";
35 "Project a point using a matrix, using location, rotation, scale, and perspective divide";
#define NODE_CLASS_CONVERTER
#define FN_NODE_PROJECT_POINT
#define NOD_REGISTER_NODE(REGISTER_FUNC)
void set_matching_fn(const mf::MultiFunction *fn)
void node_register_type(bNodeType &ntype)
VectorT project_point(const MatT &mat, const VectorT &point)
static void node_build_multi_function(NodeMultiFunctionBuilder &builder)
static void node_declare(NodeDeclarationBuilder &b)
static void node_register()
MatBase< float, 4, 4 > float4x4
VecBase< float, 3 > float3
void fn_node_type_base(blender::bke::bNodeType *ntype, std::string idname, const std::optional< int16_t > legacy_type)
std::string ui_description
NodeMultiFunctionBuildFunction build_multi_function
const char * enum_name_legacy
NodeDeclareFunction declare