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

Functions

static void node_declare (NodeDeclarationBuilder &b)
static void set_material_index_in_grease_pencil (GreasePencil &grease_pencil, const Field< bool > &selection, const Field< int > &material_index)
static void node_geo_exec (GeoNodeExecParams params)
static void node_register ()

Function Documentation

◆ node_declare()

void blender::nodes::node_geo_set_material_index_cc::node_declare ( NodeDeclarationBuilder & b)
static

Definition at line 17 of file node_geo_set_material_index.cc.

References b, blender::nodes::SocketDeclaration::hide_value, and min.

Referenced by node_register().

◆ node_geo_exec()

◆ node_register()

◆ set_material_index_in_grease_pencil()

void blender::nodes::node_geo_set_material_index_cc::set_material_index_in_grease_pencil ( GreasePencil & grease_pencil,
const Field< bool > & selection,
const Field< int > & material_index )
static