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

Classes

class  UnwrapFieldInput

Functions

static void node_declare (NodeDeclarationBuilder &b)
static void node_init (bNodeTree *, bNode *node)
static VArray< float3construct_uv_gvarray (const Mesh &mesh, const Field< bool > selection_field, const Field< bool > seam_field, const bool fill_holes, const float margin, const GeometryNodeUVUnwrapMethod method, const AttrDomain domain)
static void node_geo_exec (GeoNodeExecParams params)
static void node_register ()

Variables

static EnumPropertyItem method_items []

Function Documentation

◆ construct_uv_gvarray()

◆ node_declare()

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

◆ node_geo_exec()

void blender::nodes::node_geo_uv_unwrap_cc::node_geo_exec ( GeoNodeExecParams params)
static

Definition at line 185 of file node_geo_uv_unwrap.cc.

References params.

Referenced by node_register().

◆ node_init()

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

Definition at line 52 of file node_geo_uv_unwrap.cc.

References MEM_callocN(), and bNode::storage.

Referenced by node_register().

◆ node_register()

Variable Documentation

◆ method_items

EnumPropertyItem blender::nodes::node_geo_uv_unwrap_cc::method_items[]
static
Initial value:
= {
"ANGLE_BASED",
0,
N_("Angle Based"),
N_("This method gives a good 2D representation of a mesh")},
"CONFORMAL",
0,
N_("Conformal"),
N_("Uses LSCM (Least Squares Conformal Mapping). This usually gives a less accurate UV "
"mapping than Angle Based, but works better for simpler objects")},
{0, nullptr, 0, nullptr, nullptr},
}
@ GEO_NODE_UV_UNWRAP_METHOD_CONFORMAL
@ GEO_NODE_UV_UNWRAP_METHOD_ANGLE_BASED
#define N_(msgid)

Definition at line 16 of file node_geo_uv_unwrap.cc.

Referenced by node_declare().