40 if (strip ==
nullptr) {
61 float2(strip->
data->transform->xofs, strip->
data->transform->yofs));
74 float2(strip->
data->transform->scale_x, strip->
data->transform->scale_y));
85 row.
tooltip =
TIP_(
"The Strip Info node is only supported for sequencer compositing");
86 row.
icon = ICON_STATUS_ERROR;
87 parameters.
rows.append(std::move(row));
101 ntype.
ui_name =
"Sequencer Strip Info";
102 ntype.
ui_description =
"Returns information about the active strip of the modifier";
#define NOD_REGISTER_NODE(REGISTER_FUNC)
const T & data(const Action &owning_action) const
virtual const Strip * get_strip() const
NodeOperation(Context &context, const bNode &node)
Result & get_result(StringRef identifier)
void allocate_default_remaining_outputs()
Context & context() const
bool should_compute() const
void set_single_value(const T &value)
void allocate_single_value()
NodeOperation(Context &context, const bNode &node)
void node_register_type(bNodeType &ntype)
static void node_register()
static NodeOperation * get_compositor_operation(Context &context, const bNode &node)
static void node_declare(NodeDeclarationBuilder &b)
static void node_extra_info(NodeExtraInfoParams ¶meters)
@ SNODE_COMPOSITOR_SEQUENCER
SpaceNode * CTX_wm_space_node(const bContext *C)
void cmp_node_type_base(bke::bNodeType *ntype, UString idname, const std::optional< int16_t > legacy_type)
std::string ui_description
NodeGetCompositorOperationFunction get_compositor_operation
NodeExtraInfoFunction get_extra_info
NodeDeclareFunction declare