13 b.use_custom_socket_order();
14 b.allow_any_socket_order();
23 static auto fn = mf::build::SI2_SO<float3, float4x4, float3>(
34 ntype.
ui_name =
"Transform Direction";
36 "Apply a transformation matrix (excluding translation) to the given vector";
#define NODE_CLASS_CONVERTER
#define FN_NODE_TRANSFORM_DIRECTION
#define NOD_REGISTER_NODE(REGISTER_FUNC)
void set_matching_fn(const mf::MultiFunction *fn)
void node_register_type(bNodeType &ntype)
VecBase< T, 3 > transform_direction(const MatBase< T, 3, 3 > &mat, const VecBase< T, 3 > &direction)
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