|
Blender V5.3
|
#include <GEO_mesh_bevel.hh>
Public Attributes | |
| int | segments = 1 |
| float | shape = 0.5f |
| BevelAffect | affect_type = BevelAffect::Edges |
| Array< float2 > | custom_profile_samples |
| std::array< Array< float >, 4 > | offsets |
| Array< bool > | miter |
| Array< float > | spread |
| geometry::BevelAttributeOutputs | attribute_outputs |
Definition at line 48 of file GEO_mesh_bevel.hh.
| BevelAffect blender::geometry::BevelParameters::affect_type = BevelAffect::Edges |
Bevel vertices only or edges.
Definition at line 53 of file GEO_mesh_bevel.hh.
Referenced by blender::geometry::BevelState::BevelState(), blender::geometry::mesh_bevel(), and blender::nodes::node_geo_bevel_cc::node_geo_exec().
| geometry::BevelAttributeOutputs blender::geometry::BevelParameters::attribute_outputs |
Which output attributes are needed.
Definition at line 78 of file GEO_mesh_bevel.hh.
Referenced by blender::nodes::node_geo_bevel_cc::node_geo_exec().
Pre-sampled custom profile points, if non-empty. Each element is a (x, y) coordinate in the unit square [0,1]x[0,1], sampled at even arc-length intervals from the input curve. The array has segments + 1 entries (inclusive of both endpoints). Endpoint values (index 0 and last) are always (1,0) and (0,1) so that they align with the bevel strip corners, matching the CurveProfile convention.
Definition at line 62 of file GEO_mesh_bevel.hh.
Referenced by blender::geometry::profile::find_profile_fullness(), blender::geometry::mesh_bevel(), blender::nodes::node_geo_bevel_cc::node_geo_exec(), and blender::geometry::profile::set_profile_spacing().
| Array<bool> blender::geometry::BevelParameters::miter |
Per corner bool saying whether or not to miter at that corner.
Definition at line 74 of file GEO_mesh_bevel.hh.
Referenced by blender::nodes::node_geo_bevel_cc::node_geo_exec().
Blender units to offset each end of each edge. A 4d Array of Arrays indexed by mesh edge id. If affect_type is Edges or Faces, these are in order: source end (left, right), destination end (left, right), viewed from the source end looking towards the destination end, standing on the normal positive side. If affect_type is Vertices, these are the amounts to move along each edge from the vertex, and only the first and third values are used.
Definition at line 72 of file GEO_mesh_bevel.hh.
Referenced by blender::geometry::mesh_bevel(), and blender::nodes::node_geo_bevel_cc::node_geo_exec().
| int blender::geometry::BevelParameters::segments = 1 |
Definition at line 49 of file GEO_mesh_bevel.hh.
Referenced by blender::geometry::profile::find_profile_fullness(), blender::nodes::node_geo_bevel_cc::node_geo_exec(), and blender::geometry::profile::set_profile_spacing().
| float blender::geometry::BevelParameters::shape = 0.5f |
Profile shape parameter.
Definition at line 51 of file GEO_mesh_bevel.hh.
Referenced by blender::geometry::profile::find_profile_fullness(), and blender::nodes::node_geo_bevel_cc::node_geo_exec().
Per corner float saying how much to spread arc miters.
Definition at line 76 of file GEO_mesh_bevel.hh.
Referenced by blender::nodes::node_geo_bevel_cc::node_geo_exec().