Blender V5.3
blender::KnifeObjectInfo Struct Reference

Public Attributes

Array< float3 > positions_cage
Array< int3 > tri_indices
BMEditMesh * em
BMesh * bm

Detailed Description

Additional per-object data.

Definition at line 203 of file editmesh_knife.cc.

Member Data Documentation

◆ bm

BMesh* blender::KnifeObjectInfo::bm

Definition at line 216 of file editmesh_knife.cc.

Referenced by blender::knifetool_init_obinfo().

◆ em

BMEditMesh* blender::KnifeObjectInfo::em

Only assigned for convenient access.

Definition at line 215 of file editmesh_knife.cc.

Referenced by blender::knife_bm_tri_index_get(), and blender::knifetool_init_obinfo().

◆ positions_cage

Array<float3> blender::KnifeObjectInfo::positions_cage

◆ tri_indices

Array<int3> blender::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 212 of file editmesh_knife.cc.

Referenced by blender::knife_bm_tri_index_get(), and blender::knifetool_init_obinfo().


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