15 b.add_output<
decl::Vector>(
"Scale"_ustr).structure_type(StructureType::Field);
27 return math::to_scale<true>(transforms[i]);
33 static constexpr int8_t id = 0;
47 ntype.
ui_name =
"Instance Scale";
48 ntype.
ui_description =
"Retrieve the scale of each instance in the geometry";
#define GEO_NODE_INPUT_INSTANCE_SCALE
#define NOD_REGISTER_NODE(REGISTER_FUNC)
static VArray from_func(const int64_t size, GetFunc get_func)
static Field from_input(Args &&...args)
void set_output(const UString identifier, T &&value)
void node_register_type(bNodeType &ntype)
VecBase< float, 3 > float3
void geo_node_type_base(bke::bNodeType *ntype, UString idname, const std::optional< int16_t > legacy_type)
std::string ui_description
NodeGeometryExecFunction geometry_node_execute
const char * enum_name_legacy
NodeDeclareFunction declare