Changeset View
Changeset View
Standalone View
Standalone View
source/blender/nodes/geometry/nodes/node_geo_material_assign.cc
| Show All 20 Lines | |||||
| #include "DNA_mesh_types.h" | #include "DNA_mesh_types.h" | ||||
| #include "DNA_meshdata_types.h" | #include "DNA_meshdata_types.h" | ||||
| #include "BKE_material.h" | #include "BKE_material.h" | ||||
| static bNodeSocketTemplate geo_node_material_assign_in[] = { | static bNodeSocketTemplate geo_node_material_assign_in[] = { | ||||
| {SOCK_GEOMETRY, N_("Geometry")}, | {SOCK_GEOMETRY, N_("Geometry")}, | ||||
| {SOCK_MATERIAL, N_("Material")}, | {SOCK_MATERIAL, | ||||
| N_("Material"), | |||||
| 0.0f, | |||||
| 0.0f, | |||||
| 0.0f, | |||||
| 0.0f, | |||||
| 0.0f, | |||||
| 0.0f, | |||||
| PROP_NONE, | |||||
| SOCK_HIDE_LABEL}, | |||||
| {SOCK_STRING, N_("Selection")}, | {SOCK_STRING, N_("Selection")}, | ||||
| {-1, ""}, | {-1, ""}, | ||||
| }; | }; | ||||
| static bNodeSocketTemplate geo_node_material_assign_out[] = { | static bNodeSocketTemplate geo_node_material_assign_out[] = { | ||||
| {SOCK_GEOMETRY, N_("Geometry")}, | {SOCK_GEOMETRY, N_("Geometry")}, | ||||
| {-1, ""}, | {-1, ""}, | ||||
| }; | }; | ||||
| ▲ Show 20 Lines • Show All 61 Lines • Show Last 20 Lines | |||||