21 :
bke::InstancesFieldInput(
CPPType::get<
math::Quaternion>(),
"Rotation")
30 instances.instances_num(),
31 [transforms](
const int i) { return math::to_quaternion(math::normalize(transforms[i])); });
48 params.set_output(
"Rotation", std::move(rotation));
56 ntype.
ui_name =
"Instance Rotation";
57 ntype.
ui_description =
"Retrieve the rotation of each instance in the geometry";
#define GEO_NODE_INPUT_INSTANCE_ROTATION
#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)
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