24 params.set_output(
"Seconds",
float(scene_ctime / frame_rate));
25 params.set_output(
"Frame", scene_ctime);
34 "Retrieve the current time in the scene's animation in units of seconds or frames";
#define GEO_NODE_INPUT_SCENE_TIME
float BKE_scene_ctime_get(const Scene *scene)
Scene * DEG_get_input_scene(const Depsgraph *graph)
#define NOD_REGISTER_NODE(REGISTER_FUNC)
void node_register_type(bNodeType &ntype)
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
NodeDeclareFunction declare