Changeset View
Changeset View
Standalone View
Standalone View
source/blender/nodes/geometry/nodes/node_geo_point_distribute.cc
| Show All 38 Lines | |||||
| #include "node_geometry_util.hh" | #include "node_geometry_util.hh" | ||||
| using blender::bke::AttributeKind; | using blender::bke::AttributeKind; | ||||
| using blender::bke::GeometryInstanceGroup; | using blender::bke::GeometryInstanceGroup; | ||||
| static bNodeSocketTemplate geo_node_point_distribute_in[] = { | static bNodeSocketTemplate geo_node_point_distribute_in[] = { | ||||
| {SOCK_GEOMETRY, N_("Geometry")}, | {SOCK_GEOMETRY, N_("Geometry")}, | ||||
| {SOCK_FLOAT, N_("Distance Min"), 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 100000.0f, PROP_NONE}, | {SOCK_FLOAT, N_("Distance Min"), 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 100000.0f, PROP_DISTANCE}, | ||||
| {SOCK_FLOAT, N_("Density Max"), 1.0f, 0.0f, 0.0f, 0.0f, 0.0f, 100000.0f, PROP_NONE}, | {SOCK_FLOAT, N_("Density Max"), 1.0f, 0.0f, 0.0f, 0.0f, 0.0f, 100000.0f, PROP_NONE}, | ||||
| {SOCK_STRING, N_("Density Attribute")}, | {SOCK_STRING, N_("Density Attribute")}, | ||||
| {SOCK_INT, N_("Seed"), 0, 0, 0, 0, -10000, 10000}, | {SOCK_INT, N_("Seed"), 0, 0, 0, 0, -10000, 10000}, | ||||
| {-1, ""}, | {-1, ""}, | ||||
| }; | }; | ||||
| static bNodeSocketTemplate geo_node_point_distribute_out[] = { | static bNodeSocketTemplate geo_node_point_distribute_out[] = { | ||||
| {SOCK_GEOMETRY, N_("Geometry")}, | {SOCK_GEOMETRY, N_("Geometry")}, | ||||
| ▲ Show 20 Lines • Show All 689 Lines • Show Last 20 Lines | |||||