Blender V4.3
blender::nodes::node_geo_instance_on_points_cc Namespace Reference

Functions

static void node_declare (NodeDeclarationBuilder &b)
static void add_instances_from_component (bke::Instances &dst_component, const AttributeAccessor &src_attributes, const GeometrySet &instance, const fn::FieldContext &field_context, const GeoNodeExecParams &params, const Map< StringRef, AttributeKind > &attributes_to_propagate)
static void node_geo_exec (GeoNodeExecParams params)
static void node_register ()

Function Documentation

◆ add_instances_from_component()

void blender::nodes::node_geo_instance_on_points_cc::add_instances_from_component ( bke::Instances & dst_component,
const AttributeAccessor & src_attributes,
const GeometrySet & instance,
const fn::FieldContext & field_context,
const GeoNodeExecParams & params,
const Map< StringRef, AttributeKind > & attributes_to_propagate )
static

Definition at line 46 of file node_geo_instance_on_points.cc.

References blender::bke::MutableAttributeAccessor::add(), blender::bke::Instances::add_reference(), blender::bke::Instances::attributes_for_write(), blender::bke::AttributeAccessor::contains(), blender::GSpan::data(), blender::bke::AttributeAccessor::domain_size(), blender::bke::GSpanAttributeWriter::finish(), blender::math::from_loc_rot_scale(), blender::array_utils::gather(), blender::VArrayCommon< T >::get_internal_single(), blender::GVArrayCommon::get_internal_span(), blender::Span< T >::index_range(), indices, init(), init(), instance, blender::bke::Instances::instances_num(), blender::VArrayCommon< T >::is_single(), blender::GVArrayCommon::is_span(), blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::items(), blender::bke::AttributeAccessor::lookup(), blender::bke::MutableAttributeAccessor::lookup_for_write_span(), mod_i(), mul_m4_m4_post(), params, blender::MatBase< T, NumCol, NumRow, Alignment >::ptr(), blender::bke::Instances::reference_handles_for_write(), blender::Array< T, InlineBufferCapacity, Allocator >::reinitialize(), blender::bke::Instances::resize(), selection, blender::bke::GAttributeReader::sharing_info, blender::GVArrayCommon::size(), blender::Span< T >::size(), blender::GMutableSpan::slice(), MutableSpan< T >::slice(), blender::bke::GSpanAttributeWriter::span, TIP_, blender::bke::Instances::transforms_for_write(), and blender::bke::GAttributeReader::varray.

Referenced by node_geo_exec().

◆ node_declare()

void blender::nodes::node_geo_instance_on_points_cc::node_declare ( NodeDeclarationBuilder & b)
static

◆ node_geo_exec()

void blender::nodes::node_geo_instance_on_points_cc::node_geo_exec ( GeoNodeExecParams params)
static

◆ node_register()