Blender V5.0
blender::nodes::node_geo_set_curve_handles_cc Namespace Reference

Functions

static void node_declare (NodeDeclarationBuilder &b)
static void node_layout (uiLayout *layout, bContext *, PointerRNA *ptr)
static void node_init (bNodeTree *, bNode *node)
static bool update_handle_types_for_movement (int8_t &type, int8_t &other)
static void set_position_in_component (Curves &curves_id, const GeometryNodeCurveHandleMode mode, const Field< bool > &selection_field, const Field< float3 > &position_field, const Field< float3 > &offset_field)
static void node_geo_exec (GeoNodeExecParams params)
static void node_rna (StructRNA *srna)
static void node_register ()

Function Documentation

◆ node_declare()

◆ node_geo_exec()

◆ node_init()

void blender::nodes::node_geo_set_curve_handles_cc::node_init ( bNodeTree * ,
bNode * node )
static

Definition at line 57 of file node_geo_set_curve_handles.cc.

References data, GEO_NODE_CURVE_HANDLE_LEFT, MEM_callocN(), and bNode::storage.

Referenced by node_register().

◆ node_layout()

void blender::nodes::node_geo_set_curve_handles_cc::node_layout ( uiLayout * layout,
bContext * ,
PointerRNA * ptr )
static

Definition at line 52 of file node_geo_set_curve_handles.cc.

References uiLayout::prop(), ptr, and UI_ITEM_R_EXPAND.

Referenced by node_register().

◆ node_register()

◆ node_rna()

void blender::nodes::node_geo_set_curve_handles_cc::node_rna ( StructRNA * srna)
static

◆ set_position_in_component()

◆ update_handle_types_for_movement()

bool blender::nodes::node_geo_set_curve_handles_cc::update_handle_types_for_movement ( int8_t & type,
int8_t & other )
static

Return true if the handle changes from "Vector" to "Free" which changes Bezier curve topology.

Definition at line 69 of file node_geo_set_curve_handles.cc.

References BEZIER_HANDLE_ALIGN, BEZIER_HANDLE_AUTO, BEZIER_HANDLE_FREE, and BEZIER_HANDLE_VECTOR.