Blender V4.3
KnifeObjectInfo Struct Reference

Public Attributes

Array< float3positions_cage
 
Array< int3tri_indices
 
BMEditMeshem
 

Detailed Description

Additional per-object data.

Definition at line 201 of file editmesh_knife.cc.

Member Data Documentation

◆ em

BMEditMesh* KnifeObjectInfo::em

Only assigned for convenient access.

Definition at line 213 of file editmesh_knife.cc.

Referenced by knife_bm_tri_index_get(), and knifetool_init_obinfo().

◆ positions_cage

Array<float3> KnifeObjectInfo::positions_cage

Definition at line 202 of file editmesh_knife.cc.

Referenced by knife_bm_tri_cagecos_get(), and knifetool_init_obinfo().

◆ tri_indices

Array<int3> KnifeObjectInfo::tri_indices

Optionally allocate triangle indices, these are needed for non-interactive knife projection as multiple cuts are made without the BVH being updated. Using these indices the it's possible to access cagecos even if the face has been cut and the loops in em->looptris no longer refer to the original triangles, see: #97153.

Definition at line 210 of file editmesh_knife.cc.

Referenced by knife_bm_tri_index_get(), and knifetool_init_obinfo().


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