16 "The location of the scene's 3D cursor, in the local space of the modified object");
19 "The rotation of the scene's 3D cursor, in the local space of the modified object");
28 const float4x4 &world_to_object =
params.self_object()->world_to_object();
30 const float3 location_global =
data.cursor_position;
42 ntype.
ui_description =
"The scene's 3D cursor location and rotation";
#define GEO_NODE_TOOL_3D_CURSOR
#define NOD_REGISTER_NODE(REGISTER_FUNC)
BMesh const char void * data
void node_register_type(bNodeType &ntype)
QuaternionBase< float > Quaternion
QuaternionBase< T > to_quaternion(const AxisAngleBase< T, AngleT > &axis_angle)
VecBase< T, 3 > transform_point(const CartesianBasis &basis, const VecBase< T, 3 > &v)
void search_link_ops_for_tool_node(GatherLinkSearchOpParams ¶ms)
bool check_tool_context_and_error(GeoNodeExecParams ¶ms)
MatBase< float, 4, 4 > float4x4
VecBase< float, 3 > float3
void geo_node_type_base(blender::bke::bNodeType *ntype, std::string idname, const std::optional< int16_t > legacy_type)
std::string ui_description
NodeGeometryExecFunction geometry_node_execute
const char * enum_name_legacy
NodeGatherSocketLinkOperationsFunction gather_link_search_ops
NodeDeclareFunction declare