19 b.add_input<
decl::Int>(
"Start Frame"_ustr).default_value(1);
20 b.add_input<
decl::Int>(
"End Frame"_ustr).default_value(250);
39 result.allocate_single_value();
92 "Generate a factor value (from 0.0 to 1.0) between scene start and end time, using a curve "
#define NOD_REGISTER_NODE(REGISTER_FUNC)
int get_frame_number() const
NodeOperation(Context &context, const bNode &node)
const bNode & node() const
Result & get_result(StringRef identifier)
Context & context() const
Result & get_input(StringRef identifier) const
T get_single_value_default() const
NodeOperation(Context &context, const bNode &node)
const CurveMapping * get_curve_mapping()
float compute_normalized_time()
void node_register_type(bNodeType &ntype)
void node_type_storage(bNodeType &ntype, std::optional< StringRefNull > storagename, void(*freefunc)(bNode *node), void(*copyfunc)(bNodeTree *dest_ntree, bNode *dest_node, const bNode *src_node))
T clamp(const T &a, const T &min, const T &max)
static void node_declare(NodeDeclarationBuilder &b)
static void node_init(bNodeTree *, bNode *node)
static void node_register()
static NodeOperation * get_compositor_operation(Context &context, const bNode &node)
CurveMapping * BKE_curvemapping_add(int tot, float minx, float miny, float maxx, float maxy)
void BKE_curvemapping_init(CurveMapping *cumap)
void node_free_curves(bNode *node)
void node_copy_curves(bNodeTree *, bNode *dest_node, const bNode *src_node)
float BKE_curvemapping_evaluateF(const CurveMapping *cumap, int cur, float value)
void cmp_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 _200
std::string ui_description
NodeGetCompositorOperationFunction get_compositor_operation
void(*) initfunc(bNodeTree *ntree, bNode *node)
const char * enum_name_legacy
NodeDeclareFunction declare