25 const int framenumber =
context.get_framenumber();
27 if (framenumber < node->custom1) {
30 else if (framenumber >
node->custom2) {
33 else if (
node->custom1 <
node->custom2) {
MINLINE float clamp_f(float value, float min, float max)
Overall context of the compositor.
void map_output_socket(NodeOutput *node_socket, NodeOperationOutput *operation_socket)
void add_operation(NodeOperation *operation)
NodeOperationOutput * get_output_socket(unsigned int index=0)
NodeOutput * get_output_socket(unsigned int index=0) const
bNode * get_bnode() const
get the reference to the SDNA bNode struct
void set_value(float value)
void convert_to_operations(NodeConverter &converter, const CompositorContext &context) const override
convert node to operation
TimeNode(bNode *editor_node)