27 return math::to_scale<true>(transforms[i]);
44 Field<float3> scale{std::make_shared<InstanceScaleFieldInput>()};
45 params.set_output(
"Scale", std::move(scale));
52 ntype.
ui_name =
"Instance Scale";
53 ntype.
ui_description =
"Retrieve the scale of each instance in the geometry";
#define GEO_NODE_INPUT_INSTANCE_SCALE
#define NOD_REGISTER_NODE(REGISTER_FUNC)
unsigned long long int uint64_t
static VArray from_func(const int64_t size, GetFunc get_func)
void node_register_type(bNodeType &ntype)
VecBase< float, 3 > float3
void geo_node_type_base(blender::bke::bNodeType *ntype, std::string idname, const std::optional< int16_t > legacy_type)
std::string ui_description
NodeGeometryExecFunction geometry_node_execute
const char * enum_name_legacy
NodeDeclareFunction declare