21 b.use_custom_socket_order();
22 b.allow_any_socket_order();
23 b.add_default_layout();
39 static auto fn = mf::build::SI2_SO<math::Quaternion, math::Quaternion, math::Quaternion>(
45 static auto fn = mf::build::SI2_SO<math::Quaternion, math::Quaternion, math::Quaternion>(
60 "Rotate the input rotation in global space"},
65 "Rotate the input rotation in its local space"},
66 {0,
nullptr, 0,
nullptr,
nullptr},
72 "Base orientation for the rotation",
81 ntype.
ui_name =
"Rotate Rotation";
82 ntype.
ui_description =
"Apply a secondary rotation to a given rotation value";
#define NODE_CLASS_CONVERTER
#define FN_NODE_ROTATE_ROTATION
#define NOD_REGISTER_NODE(REGISTER_FUNC)
#define NOD_inline_enum_accessors(member)
void set_matching_fn(const mf::MultiFunction *fn)
void node_register_type(bNodeType &ntype)
QuaternionBase< float > Quaternion
static void node_build_multi_function(NodeMultiFunctionBuilder &builder)
static void node_register()
static void node_rna(StructRNA *srna)
static void node_layout(uiLayout *layout, bContext *, PointerRNA *ptr)
static void node_declare(NodeDeclarationBuilder &b)
PropertyRNA * RNA_def_node_enum(StructRNA *srna, const char *identifier, const char *ui_name, const char *ui_description, const EnumPropertyItem *static_items, const EnumRNAAccessors accessors, std::optional< int > default_value, const EnumPropertyItemFunc item_func, const bool allow_animation)
void fn_node_type_base(blender::bke::bNodeType *ntype, std::string idname, const std::optional< int16_t > legacy_type)
static const EnumPropertyItem space_items[]
std::string ui_description
NodeMultiFunctionBuildFunction build_multi_function
const char * enum_name_legacy
void(* draw_buttons)(uiLayout *, bContext *C, PointerRNA *ptr)
NodeDeclareFunction declare
void prop(PointerRNA *ptr, PropertyRNA *prop, int index, int value, eUI_Item_Flag flag, std::optional< blender::StringRef > name_opt, int icon, std::optional< blender::StringRef > placeholder=std::nullopt)