Blender V5.3
blender::nodes::node_geo_grid_topology_boolean Namespace Reference

Enumerations

enum class  Operation { Intersect = 0 , Union = 1 , Difference = 2 }

Functions

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

Variables

static const EnumPropertyItem operation_items []

Enumeration Type Documentation

◆ Operation

Enumerator
Intersect 
Union 
Difference 

Definition at line 26 of file node_geo_grid_topology_boolean.cc.

Function Documentation

◆ node_declare()

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

◆ node_geo_exec()

◆ node_init()

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

Definition at line 81 of file node_geo_grid_topology_boolean.cc.

References node, node_init(), and blender::SOCK_FLOAT.

Referenced by node_init(), and node_register().

◆ node_layout()

void blender::nodes::node_geo_grid_topology_boolean::node_layout ( ui::Layout & layout,
bContext * ,
PointerRNA * ptr )
static

◆ node_register()

◆ node_rna()

Variable Documentation

◆ operation_items

const EnumPropertyItem blender::nodes::node_geo_grid_topology_boolean::operation_items[]
static
Initial value:
= {
"INTERSECT",
0,
"Intersect",
"Keep voxels and tiles that are active in all grids"},
"UNION",
0,
"Union",
"Add voxels or tiles that are active in any grid"},
"DIFFERENCE",
0,
"Difference",
"Keep active voxels and tiles of the primary grid that are not active in secondary grids"},
{0, nullptr, 0, nullptr, nullptr},
}

Definition at line 32 of file node_geo_grid_topology_boolean.cc.

Referenced by node_declare().