Blender
V3.3
|
Functions | |
static void | node_declare (NodeDeclarationBuilder &b) |
static void | add_instances_from_component (InstancesComponent &dst_component, const GeometryComponent &src_component, const GeometrySet &instance, const GeoNodeExecParams ¶ms, const Map< AttributeIDRef, AttributeKind > &attributes_to_propagate) |
static void | node_geo_exec (GeoNodeExecParams params) |
|
static |
Definition at line 45 of file node_geo_instance_on_points.cc.
References InstancesComponent::add_reference(), ATTR_DOMAIN_POINT, GeometryComponent::attribute_domain_size(), GeometryComponent::attributes(), blender::bke::domain_num(), blender::VArrayCommon< T >::get_internal_single(), blender::IndexMask::index_range(), blender::Span< T >::index_range(), indices, instance, InstancesComponent::instance_reference_handles(), InstancesComponent::instance_transforms(), InstancesComponent::instances_num(), blender::IndexMask::is_empty(), blender::VArrayCommon< T >::is_single(), blender::threading::parallel_for(), params, positions, InstancesComponent::resize(), rotations, blender::IndexRange::size(), blender::Span< T >::size(), and blender::Span< T >::slice().
Referenced by node_geo_exec().
|
static |
Definition at line 17 of file node_geo_instance_on_points.cc.
References usdtokens::b(), blender::nodes::SocketDeclaration::description(), N_, PROP_EULER, and PROP_XYZ.
Referenced by register_node_type_geo_instance_on_points().
|
static |
Definition at line 192 of file node_geo_instance_on_points.cc.
References add_instances_from_component(), GeometrySet::gather_attributes_for_propagation(), GEO_COMPONENT_TYPE_CURVE, GEO_COMPONENT_TYPE_INSTANCES, GEO_COMPONENT_TYPE_MESH, GEO_COMPONENT_TYPE_POINT_CLOUD, GeometrySet::get_component_for_read(), GeometrySet::get_component_for_write(), GeometrySet::has(), instance, GeometrySet::modify_geometry_sets(), params, blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::remove(), GeometrySet::remove_geometry_during_modify(), InstancesComponent::remove_unused_references(), type, and types.
Referenced by register_node_type_geo_instance_on_points().