13 b.add_output<
decl::Float>(
"Creation Time"_ustr).structure_type(StructureType::Field);
14 b.add_output<
decl::Float>(
"Delta Time"_ustr).structure_type(StructureType::Field);
20 params.
set_output(
"Creation Time"_ustr, std::move(init_time));
23 params.
set_output(
"Delta Time"_ustr, std::move(delta_time));
31 ntype.
ui_name =
"Grease Pencil Draw Time";
32 ntype.
ui_description =
"Retrieve information as to when a Grease Pencil curve was drawn";
#define NOD_REGISTER_NODE(REGISTER_FUNC)
void set_output(const UString identifier, T &&value)
void node_register_type(bNodeType &ntype)
static void node_declare(NodeDeclarationBuilder &b)
static void node_register()
static void node_geo_exec(GeoNodeExecParams params)
void geo_node_type_base(bke::bNodeType *ntype, UString idname, const std::optional< int16_t > legacy_type)
KERNEL_FEATURE_LIGHT_PASSES KERNEL_FEATURE_PATH_GUIDING float
static constexpr int _180
std::string ui_description
NodeGeometryExecFunction geometry_node_execute
NodeDeclareFunction declare