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

Functions

static void node_declare (NodeDeclarationBuilder &b)
static void node_init (bNodeTree *, bNode *node)
static void node_geo_exec (GeoNodeExecParams params)
static void node_register ()

Variables

static const EnumPropertyItem mode_items []

Function Documentation

◆ node_declare()

◆ node_geo_exec()

◆ node_init()

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

Definition at line 80 of file node_geo_distribute_points_in_volume.cc.

References MEM_callocN(), and bNode::storage.

Referenced by node_register().

◆ node_register()

Variable Documentation

◆ mode_items

const EnumPropertyItem blender::nodes::node_geo_distribute_points_in_volume_cc::mode_items[]
static
Initial value:
= {
"DENSITY_RANDOM",
0,
N_("Random"),
N_("Distribute points randomly inside of the volume")},
"DENSITY_GRID",
0,
N_("Grid"),
N_("Distribute the points in a grid pattern inside of the volume")},
{0, nullptr, 0, nullptr, nullptr},
}
@ GEO_NODE_DISTRIBUTE_POINTS_IN_VOLUME_DENSITY_GRID
@ GEO_NODE_DISTRIBUTE_POINTS_IN_VOLUME_DENSITY_RANDOM
#define N_(msgid)

Definition at line 29 of file node_geo_distribute_points_in_volume.cc.

Referenced by node_declare().