Blender V5.3
blender::BPy_BMLoopUV Struct Reference

Public Attributes

PyObject_HEAD float * uv
bool * pin
BMLoop * loop

Detailed Description

Definition at line 49 of file bmesh_py_types_meshdata.cc.

Member Data Documentation

◆ loop

BMLoop* blender::BPy_BMLoopUV::loop

Definition at line 62 of file bmesh_py_types_meshdata.cc.

◆ pin

bool* blender::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 61 of file bmesh_py_types_meshdata.cc.

Referenced by blender::BPy_BMLoopUV_AssignPyObject(), blender::BPy_BMLoopUV_CreatePyObject(), blender::bpy_bmloopuv_pin_uv_get(), blender::bpy_bmloopuv_pin_uv_ok_or_error(), and blender::bpy_bmloopuv_pin_uv_set().

◆ uv


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