Blender
V3.3
|
Functions | |
static void | node_declare (NodeDeclarationBuilder &b) |
static void | set_computed_position_and_offset (GeometryComponent &component, const VArray< float3 > &in_positions, const VArray< float3 > &in_offsets, const IndexMask selection) |
static void | set_position_in_component (GeometryComponent &component, const Field< bool > &selection_field, const Field< float3 > &position_field, const Field< float3 > &offset_field) |
static void | node_geo_exec (GeoNodeExecParams params) |
|
static |
Definition at line 16 of file node_geo_set_position.cc.
References usdtokens::b(), N_, and PROP_TRANSLATION.
Referenced by register_node_type_geo_set_position().
|
static |
Definition at line 158 of file node_geo_set_position.cc.
References GEO_COMPONENT_TYPE_CURVE, GEO_COMPONENT_TYPE_INSTANCES, GEO_COMPONENT_TYPE_MESH, GEO_COMPONENT_TYPE_POINT_CLOUD, GeometrySet::get_component_for_write(), GeometrySet::has(), params, set_position_in_component(), and type.
Referenced by register_node_type_geo_set_position().
|
static |
Definition at line 25 of file node_geo_set_position.cc.
References component(), blender::devirtualize_varray(), blender::devirtualize_varray2(), GEO_COMPONENT_TYPE_MESH, blender::IndexMask::index_range(), blender::VArrayCommon< T >::is_same(), blender::bke::MutableAttributeAccessor::lookup_for_write(), mesh, Mesh::mvert, blender::threading::parallel_for(), positions, and Mesh::totvert.
Referenced by set_position_in_component().
|
static |
Definition at line 132 of file node_geo_set_position.cc.
References ATTR_DOMAIN_INSTANCE, ATTR_DOMAIN_POINT, component(), GEO_COMPONENT_TYPE_INSTANCES, set_computed_position_and_offset(), and blender::fn::FieldEvaluator::set_selection().
Referenced by node_geo_exec().