13 b.use_custom_socket_order();
14 b.allow_any_socket_order();
22 static auto fn = mf::build::SI1_SO<float4x4, float4x4>(
31 ntype.
ui_name =
"Transpose Matrix";
33 "Flip a matrix over its diagonal, turning columns into rows and vice-versa";
#define NODE_CLASS_CONVERTER
#define FN_NODE_TRANSPOSE_MATRIX
#define NOD_REGISTER_NODE(REGISTER_FUNC)
void set_matching_fn(const mf::MultiFunction *fn)
void node_register_type(bNodeType &ntype)
MatBase< T, NumCol, NumRow > transpose(const MatBase< T, NumRow, NumCol > &mat)
static void node_register()
static void node_build_multi_function(NodeMultiFunctionBuilder &builder)
static void node_declare(NodeDeclarationBuilder &b)
MatBase< float, 4, 4 > float4x4
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