29 params.
set_output(
"Seconds"_ustr,
float(scene_ctime / frame_rate));
47 return get_output_default(socket_out_->identifier, NodeItem::Type::Any);
58 "Retrieve the current time in the scene's animation in units of seconds or frames";
#define GEO_NODE_INPUT_SCENE_TIME
#define NOD_REGISTER_NODE(REGISTER_FUNC)
const Depsgraph * depsgraph() const
void set_output(const UString identifier, T &&value)
void node_register_type(bNodeType &ntype)
bool GPU_stack_link(GPUMaterial *mat, const bNode *node, const char *name, GPUNodeStack *in, GPUNodeStack *out,...)
void sh_geo_node_type_base(bke::bNodeType *ntype, UString idname, const std::optional< int16_t > legacy_type)
void GPU_material_flag_set(GPUMaterial *mat, eGPUMaterialFlag flag)
float BKE_scene_ctime_get(const Scene *scene)
Scene * DEG_get_input_scene(const Depsgraph *graph)
GPUNodeLink * GPU_kernel_globals()
#define NODE_SHADER_MATERIALX_BEGIN
#define NODE_SHADER_MATERIALX_END
NodeMaterialXFunction materialx_fn
std::string ui_description
NodeGPUExecFunction gpu_fn
NodeGeometryExecFunction geometry_node_execute
const char * enum_name_legacy
NodeDeclareFunction declare