Blender
V3.3
|
Functions | |
static void | node_declare (NodeDeclarationBuilder &b) |
static void | node_layout (uiLayout *layout, bContext *UNUSED(C), PointerRNA *ptr) |
static void | node_init (bNodeTree *UNUSED(tree), bNode *node) |
static void | node_update (bNodeTree *ntree, bNode *node) |
static Curves * | create_point_line_curve (const float3 start, const float3 end) |
static Curves * | create_direction_line_curve (const float3 start, const float3 direction, const float length) |
static void | node_geo_exec (GeoNodeExecParams params) |
|
static |
Definition at line 82 of file node_geo_curve_primitive_line.cc.
References CURVE_TYPE_POLY, curves, blender::bke::curves_new_nomain_single(), Curves::geometry, blender::math::length(), blender::math::normalize(), and blender::bke::CurvesGeometry::wrap().
Referenced by node_geo_exec().
|
static |
Definition at line 71 of file node_geo_curve_primitive_line.cc.
References CURVE_TYPE_POLY, curves, blender::bke::curves_new_nomain_single(), Curves::geometry, and blender::bke::CurvesGeometry::wrap().
Referenced by node_geo_exec().
|
static |
Definition at line 14 of file node_geo_curve_primitive_line.cc.
References usdtokens::b(), blender::nodes::SocketDeclaration::description(), GEO_NODE_CURVE_PRIMITIVE_LINE_MODE_DIRECTION, GEO_NODE_CURVE_PRIMITIVE_LINE_MODE_POINTS, N_, node, PROP_DISTANCE, and PROP_TRANSLATION.
Referenced by register_node_type_geo_curve_primitive_line().
|
static |
Definition at line 95 of file node_geo_curve_primitive_line.cc.
References create_direction_line_curve(), create_point_line_curve(), GeometrySet::create_with_curves(), curves, GEO_NODE_CURVE_PRIMITIVE_LINE_MODE_DIRECTION, GEO_NODE_CURVE_PRIMITIVE_LINE_MODE_POINTS, if(), NodeGeometryCurvePrimitiveLine::mode, and params.
Referenced by register_node_type_geo_curve_primitive_line().
|
static |
Definition at line 47 of file node_geo_curve_primitive_line.cc.
References data, GEO_NODE_CURVE_PRIMITIVE_LINE_MODE_POINTS, and node.
|
static |
Definition at line 42 of file node_geo_curve_primitive_line.cc.
References ptr, UI_ITEM_R_EXPAND, and uiItemR().
Referenced by register_node_type_geo_curve_primitive_line().
|
static |
Definition at line 55 of file node_geo_curve_primitive_line.cc.
References GEO_NODE_CURVE_PRIMITIVE_LINE_MODE_DIRECTION, GEO_NODE_CURVE_PRIMITIVE_LINE_MODE_POINTS, NodeGeometryCurvePrimitiveLine::mode, bNodeSocket::next, next, node, nodeSetSocketAvailability(), and ntree.
Referenced by register_node_type_geo_curve_primitive_line().