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

Functions

static void node_declare (NodeDeclarationBuilder &b)
static void node_layout_ex (uiLayout *layout, bContext *, PointerRNA *ptr)
static void node_init (bNodeTree *, bNode *node)
static void node_geo_exec (GeoNodeExecParams params)
static void node_rna (StructRNA *srna)
static void node_register ()

Variables

static EnumPropertyItem mode_items []

Function Documentation

◆ node_declare()

◆ node_geo_exec()

◆ node_init()

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

Definition at line 76 of file node_geo_curve_resample.cc.

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

Referenced by node_register().

◆ node_layout_ex()

void blender::nodes::node_geo_curve_resample_cc::node_layout_ex ( uiLayout * layout,
bContext * ,
PointerRNA * ptr )
static

Definition at line 71 of file node_geo_curve_resample.cc.

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

Referenced by node_register().

◆ node_register()

◆ node_rna()

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

Variable Documentation

◆ mode_items

EnumPropertyItem blender::nodes::node_geo_curve_resample_cc::mode_items[]
static
Initial value:
= {
"EVALUATED",
0,
N_("Evaluated"),
N_("Output the input spline's evaluated points, based on the resolution attribute for NURBS "
"and Bézier splines. Poly splines are unchanged")},
"COUNT",
0,
N_("Count"),
N_("Sample the specified number of points along each spline")},
"LENGTH",
0,
N_("Length"),
N_("Calculate the number of samples by splitting each spline into segments with the "
"specified "
"length")},
{0, nullptr, 0, nullptr, nullptr},
}
@ GEO_NODE_CURVE_RESAMPLE_LENGTH
@ GEO_NODE_CURVE_RESAMPLE_EVALUATED
@ GEO_NODE_CURVE_RESAMPLE_COUNT
#define N_(msgid)

Definition at line 22 of file node_geo_curve_resample.cc.

Referenced by node_declare().