26 const int framenumber = context.get_framenumber();
28 if (framenumber < node->custom1) {
31 else if (framenumber > 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
const bNode * get_bnode() const
get the reference to the SDNA bNode struct
Node(bNode *editor_node, bool create_sockets=true)
void set_value(float value)
void convert_to_operations(NodeConverter &converter, const CompositorContext &context) const override
convert node to operation
TimeNode(bNode *editor_node)
draw_view in_light_buf[] float