|
Blender V5.0
|
Enumerations | |
| enum class | Mode : int8_t { Stroke = 0 , Fill = 1 } |
Functions | |
| static void | node_declare (NodeDeclarationBuilder &b) |
| static void | node_layout (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 () |
|
strong |
| Enumerator | |
|---|---|
| Stroke | |
| Fill | |
Definition at line 21 of file node_geo_set_grease_pencil_color.cc.
|
static |
Definition at line 26 of file node_geo_set_grease_pencil_color.cc.
References b, blender::nodes::SocketDeclaration::description, blender::nodes::SocketDeclaration::hide_value, and blender::nodes::SocketDeclaration::optional_label.
Referenced by node_register().
|
static |
Definition at line 53 of file node_geo_set_grease_pencil_color.cc.
References blender::bke::MutableAttributeAccessor::add(), blender::bke::CurvesGeometry::attributes(), blender::bke::CurvesGeometry::attributes_for_write(), blender::bke::AttributeAccessor::contains(), bNode::custom1, blender::bke::AttributeAccessor::domain_size(), blender::geometry::foreach_real_geometry(), blender::VArray< T >::from_single(), params, Stroke, blender::bke::greasepencil::Drawing::strokes_for_write(), and blender::bke::try_capture_fields_on_geometry().
Referenced by node_register().
|
static |
Definition at line 48 of file node_geo_set_grease_pencil_color.cc.
References bNode::custom1, and Stroke.
Referenced by node_register().
|
static |
Definition at line 44 of file node_geo_set_grease_pencil_color.cc.
References uiLayout::prop(), ptr, and UI_ITEM_NONE.
Referenced by node_register().
|
static |
Definition at line 122 of file node_geo_set_grease_pencil_color.cc.
References blender::bke::bNodeType::declare, blender::bke::bNodeType::draw_buttons, geo_node_type_base(), blender::bke::bNodeType::geometry_node_execute, blender::bke::bNodeType::initfunc, blender::bke::bNodeType::nclass, NODE_CLASS_GEOMETRY, node_declare(), NODE_DEFAULT_MAX_WIDTH, node_geo_exec(), node_init(), node_layout(), blender::bke::node_register_type(), node_rna(), blender::bke::node_type_size(), blender::bke::bNodeType::rna_ext, ExtensionRNA::srna, blender::bke::bNodeType::ui_description, and blender::bke::bNodeType::ui_name.
|
static |
Definition at line 103 of file node_geo_set_grease_pencil_color.cc.
References Fill, NOD_inline_enum_accessors, blender::nodes::RNA_def_node_enum(), and Stroke.
Referenced by node_register().