Blender V5.3
blender::geometry::construct::NewCornerInterpWeights Struct Reference

Public Member Functions

Span< float > weights_for (const int nc) const

Public Attributes

Array< int > src_faces
Array< int > offsets
Array< int > src_corners
Array< float > weights

Detailed Description

Precomputed interpolation data for new corner values sourced from original faces.

Definition at line 6985 of file mesh_bevel.cc.

Member Function Documentation

◆ weights_for()

Span< float > blender::geometry::construct::NewCornerInterpWeights::weights_for ( const int nc) const
inline

Member Data Documentation

◆ offsets

Array<int> blender::geometry::construct::NewCornerInterpWeights::offsets

◆ src_corners

Array<int> blender::geometry::construct::NewCornerInterpWeights::src_corners

The source corner for every weight. It's theoretically unnecessary to store this but it allows using #mix_groups directly.

Definition at line 6992 of file mesh_bevel.cc.

Referenced by blender::geometry::construct::interpolate_new_corner_attribute_from_faces().

◆ src_faces

Array<int> blender::geometry::construct::NewCornerInterpWeights::src_faces

◆ weights

Array<float> blender::geometry::construct::NewCornerInterpWeights::weights

The documentation for this struct was generated from the following file: