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

Functions

static void node_declare (NodeDeclarationBuilder &b)
static void node_geo_exec (GeoNodeExecParams params)
static void node_register ()

Variables

static const EnumPropertyItem rna_node_geometry_triangulate_quad_method_items []
static const EnumPropertyItem rna_node_geometry_triangulate_ngon_method_items []

Function Documentation

◆ node_declare()

◆ node_geo_exec()

◆ node_register()

Variable Documentation

◆ rna_node_geometry_triangulate_ngon_method_items

const EnumPropertyItem blender::nodes::node_geo_triangulate_cc::rna_node_geometry_triangulate_ngon_method_items[]
static
Initial value:
= {
"BEAUTY",
0,
N_("Beauty"),
N_("Arrange the new triangles evenly (slow)")},
"CLIP",
0,
N_("Clip"),
N_("Split the polygons with an ear clipping algorithm")},
{0, nullptr, 0, nullptr, nullptr},
}
#define N_(msgid)

Definition at line 44 of file node_geo_triangulate.cc.

Referenced by node_declare().

◆ rna_node_geometry_triangulate_quad_method_items

const EnumPropertyItem blender::nodes::node_geo_triangulate_cc::rna_node_geometry_triangulate_quad_method_items[]
static
Initial value:
= {
"BEAUTY",
0,
N_("Beauty"),
N_("Split the quads in nice triangles, slower method")},
"FIXED",
0,
N_("Fixed"),
N_("Split the quads on the first and third vertices")},
"FIXED_ALTERNATE",
0,
N_("Fixed Alternate"),
N_("Split the quads on the 2nd and 4th vertices")},
"SHORTEST_DIAGONAL",
0,
N_("Shortest Diagonal"),
N_("Split the quads along their shortest diagonal")},
"LONGEST_DIAGONAL",
0,
N_("Longest Diagonal"),
N_("Split the quads along their longest diagonal")},
{0, nullptr, 0, nullptr, nullptr},
}

Definition at line 15 of file node_geo_triangulate.cc.

Referenced by node_declare().