Blender V5.0
BPy_BMLoopUV Struct Reference

Public Attributes

PyObject_VAR_HEAD floatuv
bool * pin
BMLooploop

Detailed Description

Definition at line 46 of file bmesh_py_types_meshdata.cc.

Member Data Documentation

◆ loop

BMLoop* BPy_BMLoopUV::loop

Definition at line 59 of file bmesh_py_types_meshdata.cc.

◆ pin

bool* BPy_BMLoopUV::pin

Pin may be null, signifying the layer doesn't exist.

Currently its always created on a BMesh because adding UV layers to an existing BMesh is slow and invalidates existing Python objects having pointers into the original data-blocks (since adding a layer re-generates all blocks). But eventually the plan is to lazily allocate the boolean layers "on demand". Therefore the code handles cases where the pin layer doesn't exist.

Definition at line 58 of file bmesh_py_types_meshdata.cc.

Referenced by BPy_BMLoopUV_AssignPyObject().

◆ uv

PyObject_VAR_HEAD float* BPy_BMLoopUV::uv

Definition at line 48 of file bmesh_py_types_meshdata.cc.

Referenced by BPy_BMLoopUV_AssignPyObject().


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