11 b.use_custom_socket_order();
12 b.allow_any_socket_order();
15 .
description(
"Instances to transform individually");
16 b.add_output<
decl::Geometry>(
"Instances"_ustr).propagate_all_geometry().align_with_previous();
20 .evaluated_geometry_field();
22 .evaluated_geometry_field()
24 .structure_type(StructureType::Field);
36 instances,
"instance_transform", AttrDomain::Instance, selection_field, transform_field);
39 params.
set_output(
"Instances"_ustr, std::move(geometry_set));
48 ntype.
ui_name =
"Set Instance Transform";
49 ntype.
ui_description =
"Set the transformation matrix of every instance";
#define NODE_CLASS_GEOMETRY
#define GEO_NODE_SET_INSTANCE_TRANSFORM
#define NOD_REGISTER_NODE(REGISTER_FUNC)
T extract_input(const UString identifier)
void set_output(const UString identifier, T &&value)
NodeDefaultInputType default_input_type
bool try_capture_field_on_geometry(MutableAttributeAccessor attributes, const fn::FieldContext &field_context, const StringRef name, AttrDomain domain, const fn::Field< bool > &selection, const fn::GField &field)
void node_register_type(bNodeType &ntype)
@ NODE_DEFAULT_INPUT_INSTANCE_TRANSFORM_FIELD
void geo_node_type_base(bke::bNodeType *ntype, UString idname, const std::optional< int16_t > legacy_type)
GeometryComponent & get_component_for_write(GeometryComponent::Type component_type)
bool has_instances() const
static constexpr int _160
std::string ui_description
NodeGeometryExecFunction geometry_node_execute
const char * enum_name_legacy
NodeDeclareFunction declare