Class Mesh


  • public class Mesh
    extends CFacade
    Generated facet for DNA struct type 'Mesh'.

    Class Documentation

    Java .Blend

    Wrapper for referencing Objects in a Scene
    • Field Detail

      • __DNA__SDNA_INDEX

        public static final int __DNA__SDNA_INDEX
        This is the sdna index of the struct Mesh.

        It is required when allocating a new block to store data for Mesh.

        See Also:
        StructDNA, BlockTable, Constant Field Values
      • __DNA__FIELD__id

        public static final long[] __DNA__FIELD__id
        Field descriptor (offset) for struct member 'id'.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         Mesh mesh = ...;
         CPointer<Object> p = mesh.__dna__addressof(Mesh.__DNA__FIELD__id);
         CPointer<ID> p_id = p.cast(new Class[]{ID.class});
         

        Metadata

        • Field: 'id'
        • Signature: 'ID'
        • Actual Size (32bit/64bit): 152/192
      • __DNA__FIELD__adt

        public static final long[] __DNA__FIELD__adt
        Field descriptor (offset) for struct member 'adt'.

        Field Documentation

        Blender Source Code

        Animation data (must be immediately after id for utilities to use it).

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         Mesh mesh = ...;
         CPointer<Object> p = mesh.__dna__addressof(Mesh.__DNA__FIELD__adt);
         CPointer<CPointer<AnimData>> p_adt = p.cast(new Class[]{CPointer.class, AnimData.class});
         

        Metadata

        • Field: 'adt'
        • Signature: 'AnimData*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__ipo

        public static final long[] __DNA__FIELD__ipo
        Deprecated.
        Deprecated

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         Mesh mesh = ...;
         CPointer<Object> p = mesh.__dna__addressof(Mesh.__DNA__FIELD__ipo);
         CPointer<CPointer<Ipo>> p_ipo = p.cast(new Class[]{CPointer.class, Ipo.class});
         

        Metadata

        • Field: 'ipo'
        • Signature: 'Ipo*'
        • Actual Size (32bit/64bit): 4/8
        Field descriptor (offset) for struct member 'ipo'.

        Field Documentation

        Blender Source Code

        Old animation system, deprecated for 2.5.

      • __DNA__FIELD__key

        public static final long[] __DNA__FIELD__key
        Field descriptor (offset) for struct member 'key'.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         Mesh mesh = ...;
         CPointer<Object> p = mesh.__dna__addressof(Mesh.__DNA__FIELD__key);
         CPointer<CPointer<Key>> p_key = p.cast(new Class[]{CPointer.class, Key.class});
         

        Metadata

        • Field: 'key'
        • Signature: 'Key*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__mat

        public static final long[] __DNA__FIELD__mat
        Field descriptor (offset) for struct member 'mat'.

        Field Documentation

        Blender Source Code

        An array of materials, with length getTotcol() . These can be overridden by material slots on Object . Indices in #MPoly.mat_nr control which material is used for every face.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         Mesh mesh = ...;
         CPointer<Object> p = mesh.__dna__addressof(Mesh.__DNA__FIELD__mat);
         CPointer<CPointer<CPointer<Material>>> p_mat = p.cast(new Class[]{CPointer.class, CPointer.class, Material.class});
         

        Metadata

        • Field: 'mat'
        • Signature: 'Material**'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__mvert

        public static final long[] __DNA__FIELD__mvert
        Field descriptor (offset) for struct member 'mvert'.

        Field Documentation

        Java .Blend

        pointer on array with vertices, which is contained in a custom data layer referenced by getVdata()]

        Blender Source Code

        Array of vertices. Edges and faces are defined by indices into this array.

        Note

        This pointer is for convenient access to the #CD_MVERT layer in #vdata.

        This pointer is for convenient access to the #CD_MVERT layer in #vdata.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         Mesh mesh = ...;
         CPointer<Object> p = mesh.__dna__addressof(Mesh.__DNA__FIELD__mvert);
         CPointer<CPointer<MVert>> p_mvert = p.cast(new Class[]{CPointer.class, MVert.class});
         

        Metadata

        • Field: 'mvert'
        • Signature: 'MVert*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__medge

        public static final long[] __DNA__FIELD__medge
        Field descriptor (offset) for struct member 'medge'.

        Field Documentation

        Java .Blend

        pointer on array with edges, which is contained in a custom data layer referenced by getEdata()]

        Blender Source Code

        Array of edges, containing vertex indices. For simple triangle or quad meshes, edges could be calculated from the MPoly and MLoop arrays, however, edges need to be stored explicitly to edge domain attributes and to support loose edges that aren't connected to faces.

        Note

        This pointer is for convenient access to the #CD_MEDGE layer in #edata.

        This pointer is for convenient access to the #CD_MEDGE layer in #edata.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         Mesh mesh = ...;
         CPointer<Object> p = mesh.__dna__addressof(Mesh.__DNA__FIELD__medge);
         CPointer<CPointer<MEdge>> p_medge = p.cast(new Class[]{CPointer.class, MEdge.class});
         

        Metadata

        • Field: 'medge'
        • Signature: 'MEdge*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__mpoly

        public static final long[] __DNA__FIELD__mpoly
        Field descriptor (offset) for struct member 'mpoly'.

        Field Documentation

        Blender Source Code

        Face topology storage of the size and offset of each face's section of the getMloop() attribute.

        Note

        This pointer is for convenient access to the CD_MPOLY layer in #pdata.

        This pointer is for convenient access to the CD_MPOLY layer in #pdata.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         Mesh mesh = ...;
         CPointer<Object> p = mesh.__dna__addressof(Mesh.__DNA__FIELD__mpoly);
         CPointer<CPointer<MPoly>> p_mpoly = p.cast(new Class[]{CPointer.class, MPoly.class});
         

        Metadata

        • Field: 'mpoly'
        • Signature: 'MPoly*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__mloop

        public static final long[] __DNA__FIELD__mloop
        Field descriptor (offset) for struct member 'mloop'.

        Field Documentation

        Java .Blend

        pointer on array with loops, which is contained in a custom data layer referenced by getLdata()]

        Blender Source Code

        The vertex and edge index at each face corner.

        Note

        This pointer is for convenient access to the #CD_MLOOP layer in #ldata.

        This pointer is for convenient access to the #CD_MLOOP layer in #ldata.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         Mesh mesh = ...;
         CPointer<Object> p = mesh.__dna__addressof(Mesh.__DNA__FIELD__mloop);
         CPointer<CPointer<MLoop>> p_mloop = p.cast(new Class[]{CPointer.class, MLoop.class});
         

        Metadata

        • Field: 'mloop'
        • Signature: 'MLoop*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__totvert

        public static final long[] __DNA__FIELD__totvert
        Field descriptor (offset) for struct member 'totvert'.

        Field Documentation

        Blender Source Code

        The number of vertices (MVert ) in the mesh, and the size of #vdata.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         Mesh mesh = ...;
         CPointer<Object> p = mesh.__dna__addressof(Mesh.__DNA__FIELD__totvert);
         CPointer<Integer> p_totvert = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'totvert'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__totedge

        public static final long[] __DNA__FIELD__totedge
        Field descriptor (offset) for struct member 'totedge'.

        Field Documentation

        Blender Source Code

        The number of edges (MEdge ) in the mesh, and the size of #edata.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         Mesh mesh = ...;
         CPointer<Object> p = mesh.__dna__addressof(Mesh.__DNA__FIELD__totedge);
         CPointer<Integer> p_totedge = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'totedge'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__totpoly

        public static final long[] __DNA__FIELD__totpoly
        Field descriptor (offset) for struct member 'totpoly'.

        Field Documentation

        Blender Source Code

        The number of polygons/faces (MPoly ) in the mesh, and the size of #pdata.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         Mesh mesh = ...;
         CPointer<Object> p = mesh.__dna__addressof(Mesh.__DNA__FIELD__totpoly);
         CPointer<Integer> p_totpoly = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'totpoly'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__totloop

        public static final long[] __DNA__FIELD__totloop
        Field descriptor (offset) for struct member 'totloop'.

        Field Documentation

        Blender Source Code

        The number of face corners (MLoop ) in the mesh, and the size of #ldata.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         Mesh mesh = ...;
         CPointer<Object> p = mesh.__dna__addressof(Mesh.__DNA__FIELD__totloop);
         CPointer<Integer> p_totloop = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'totloop'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__vdata

        public static final long[] __DNA__FIELD__vdata
        Field descriptor (offset) for struct member 'vdata'.

        Field Documentation

        Java .Blend

        Custom data layers containing vertices.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         Mesh mesh = ...;
         CPointer<Object> p = mesh.__dna__addressof(Mesh.__DNA__FIELD__vdata);
         CPointer<CustomData> p_vdata = p.cast(new Class[]{CustomData.class});
         

        Metadata

        • Field: 'vdata'
        • Signature: 'CustomData'
        • Actual Size (32bit/64bit): 236/248
      • __DNA__FIELD__edata

        public static final long[] __DNA__FIELD__edata
        Field descriptor (offset) for struct member 'edata'.

        Field Documentation

        Java .Blend

        Custom data layers containing edges.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         Mesh mesh = ...;
         CPointer<Object> p = mesh.__dna__addressof(Mesh.__DNA__FIELD__edata);
         CPointer<CustomData> p_edata = p.cast(new Class[]{CustomData.class});
         

        Metadata

        • Field: 'edata'
        • Signature: 'CustomData'
        • Actual Size (32bit/64bit): 236/248
      • __DNA__FIELD__pdata

        public static final long[] __DNA__FIELD__pdata
        Field descriptor (offset) for struct member 'pdata'.

        Field Documentation

        Java .Blend

        Custom data layers containing MTexPolys and MPolys.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         Mesh mesh = ...;
         CPointer<Object> p = mesh.__dna__addressof(Mesh.__DNA__FIELD__pdata);
         CPointer<CustomData> p_pdata = p.cast(new Class[]{CustomData.class});
         

        Metadata

        • Field: 'pdata'
        • Signature: 'CustomData'
        • Actual Size (32bit/64bit): 236/248
      • __DNA__FIELD__ldata

        public static final long[] __DNA__FIELD__ldata
        Field descriptor (offset) for struct member 'ldata'.

        Field Documentation

        Java .Blend

        Custom data layers containing MLoopUVs and MLoops.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         Mesh mesh = ...;
         CPointer<Object> p = mesh.__dna__addressof(Mesh.__DNA__FIELD__ldata);
         CPointer<CustomData> p_ldata = p.cast(new Class[]{CustomData.class});
         

        Metadata

        • Field: 'ldata'
        • Signature: 'CustomData'
        • Actual Size (32bit/64bit): 236/248
      • __DNA__FIELD__dvert

        public static final long[] __DNA__FIELD__dvert
        Field descriptor (offset) for struct member 'dvert'.

        Field Documentation

        Blender Source Code

        "Vertex group" vertices.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         Mesh mesh = ...;
         CPointer<Object> p = mesh.__dna__addressof(Mesh.__DNA__FIELD__dvert);
         CPointer<CPointer<MDeformVert>> p_dvert = p.cast(new Class[]{CPointer.class, MDeformVert.class});
         

        Metadata

        • Field: 'dvert'
        • Signature: 'MDeformVert*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__vertex_group_names

        public static final long[] __DNA__FIELD__vertex_group_names
        Field descriptor (offset) for struct member 'vertex_group_names'.

        Field Documentation

        Blender Source Code

        List of vertex group (bDeformGroup ) names and flags only. Actual weights are stored in dvert.

        Note

        This pointer is for convenient access to the #CD_MDEFORMVERT layer in #vdata.

        This pointer is for convenient access to the #CD_MDEFORMVERT layer in #vdata.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         Mesh mesh = ...;
         CPointer<Object> p = mesh.__dna__addressof(Mesh.__DNA__FIELD__vertex_group_names);
         CPointer<ListBase> p_vertex_group_names = p.cast(new Class[]{ListBase.class});
         

        Metadata

        • Field: 'vertex_group_names'
        • Signature: 'ListBase'
        • Actual Size (32bit/64bit): 8/16
      • __DNA__FIELD__vertex_group_active_index

        public static final long[] __DNA__FIELD__vertex_group_active_index
        Field descriptor (offset) for struct member 'vertex_group_active_index'.

        Field Documentation

        Blender Source Code

        The active index in the getVertex_group_names() list.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         Mesh mesh = ...;
         CPointer<Object> p = mesh.__dna__addressof(Mesh.__DNA__FIELD__vertex_group_active_index);
         CPointer<Integer> p_vertex_group_active_index = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'vertex_group_active_index'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__attributes_active_index

        public static final long[] __DNA__FIELD__attributes_active_index
        Field descriptor (offset) for struct member 'attributes_active_index'.

        Field Documentation

        Blender Source Code

        The index of the active attribute in the UI. The attribute list is a combination of the generic type attributes from vertex, edge, face, and corner custom data.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         Mesh mesh = ...;
         CPointer<Object> p = mesh.__dna__addressof(Mesh.__DNA__FIELD__attributes_active_index);
         CPointer<Integer> p_attributes_active_index = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'attributes_active_index'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__mloopuv

        public static final long[] __DNA__FIELD__mloopuv
        Field descriptor (offset) for struct member 'mloopuv'.

        Field Documentation

        Java .Blend

        pointer on array with UV coordinates, which is contained in a custom data layer referenced by getLdata()]

        Blender Source Code

        2D vector data used for UVs. "UV" data can also be stored as generic attributes in #ldata.

        Note

        This pointer is for convenient access to the CD_MLOOPUV layer in #ldata.

        This pointer is for convenient access to the CD_MLOOPUV layer in #ldata.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         Mesh mesh = ...;
         CPointer<Object> p = mesh.__dna__addressof(Mesh.__DNA__FIELD__mloopuv);
         CPointer<CPointer<MLoopUV>> p_mloopuv = p.cast(new Class[]{CPointer.class, MLoopUV.class});
         

        Metadata

        • Field: 'mloopuv'
        • Signature: 'MLoopUV*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__mloopcol

        public static final long[] __DNA__FIELD__mloopcol
        Field descriptor (offset) for struct member 'mloopcol'.

        Field Documentation

        Blender Source Code

        The active vertex corner color layer, if it exists. Also called "Vertex Color" in Blender's UI, even though it is stored per face corner.

        Note

        This pointer is for convenient access to the #CD_PROP_BYTE_COLOR layer in #ldata.

        This pointer is for convenient access to the #CD_PROP_BYTE_COLOR layer in #ldata.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         Mesh mesh = ...;
         CPointer<Object> p = mesh.__dna__addressof(Mesh.__DNA__FIELD__mloopcol);
         CPointer<CPointer<MLoopCol>> p_mloopcol = p.cast(new Class[]{CPointer.class, MLoopCol.class});
         

        Metadata

        • Field: 'mloopcol'
        • Signature: 'MLoopCol*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__edit_mesh

        public static final long[] __DNA__FIELD__edit_mesh
        Field descriptor (offset) for struct member 'edit_mesh'.

        Field Documentation

        Blender Source Code

        Runtime storage of the edit mode mesh. If it exists, it generally has the most up-to-date information about the mesh.

        Note

        When the object is available, the preferred access method is #BKE_editmesh_from_object.

        When the object is available, the preferred access method is #BKE_editmesh_from_object.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         Mesh mesh = ...;
         CPointer<Object> p = mesh.__dna__addressof(Mesh.__DNA__FIELD__edit_mesh);
         CPointer<CPointer<Object>> p_edit_mesh = p.cast(new Class[]{CPointer.class, Object.class});
         

        Metadata

        • Field: 'edit_mesh'
        • Signature: 'BMEditMesh*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__mselect

        public static final long[] __DNA__FIELD__mselect
        Field descriptor (offset) for struct member 'mselect'.

        Field Documentation

        Blender Source Code

        This array represents the selection order when the user manually picks elements in edit-mode, some tools take advantage of this information. All elements in this array are expected to be selected, see #BKE_mesh_mselect_validate which ensures this. For procedurally created meshes, this is generally empty (selections are stored as boolean attributes in the corresponding custom data).

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         Mesh mesh = ...;
         CPointer<Object> p = mesh.__dna__addressof(Mesh.__DNA__FIELD__mselect);
         CPointer<CPointer<MSelect>> p_mselect = p.cast(new Class[]{CPointer.class, MSelect.class});
         

        Metadata

        • Field: 'mselect'
        • Signature: 'MSelect*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__totselect

        public static final long[] __DNA__FIELD__totselect
        Field descriptor (offset) for struct member 'totselect'.

        Field Documentation

        Java .Blend

        Number of entries in mselect (see getMselect()).

        Blender Source Code

        The length of the getMselect() array.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         Mesh mesh = ...;
         CPointer<Object> p = mesh.__dna__addressof(Mesh.__DNA__FIELD__totselect);
         CPointer<Integer> p_totselect = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'totselect'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__act_face

        public static final long[] __DNA__FIELD__act_face
        Field descriptor (offset) for struct member 'act_face'.

        Field Documentation

        Blender Source Code

        In most cases the last selected element (see getMselect() ) represents the active element. For faces we make an exception and store the active face separately so it can be active even when no faces are selected. This is done to prevent flickering in the material properties and UV Editor which base the content they display on the current material which is controlled by the active face.

        Note

        This is mainly stored for use in edit-mode.

        This is mainly stored for use in edit-mode.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         Mesh mesh = ...;
         CPointer<Object> p = mesh.__dna__addressof(Mesh.__DNA__FIELD__act_face);
         CPointer<Integer> p_act_face = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'act_face'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__texcomesh

        public static final long[] __DNA__FIELD__texcomesh
        Field descriptor (offset) for struct member 'texcomesh'.

        Field Documentation

        Blender Source Code

        An optional mesh owned elsewhere (by #Main) that can be used to override the texture space getLoc() and #size.

        Note

        Vertex indices should be aligned for this to work usefully.

        Vertex indices should be aligned for this to work usefully.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         Mesh mesh = ...;
         CPointer<Object> p = mesh.__dna__addressof(Mesh.__DNA__FIELD__texcomesh);
         CPointer<CPointer<Mesh>> p_texcomesh = p.cast(new Class[]{CPointer.class, Mesh.class});
         

        Metadata

        • Field: 'texcomesh'
        • Signature: 'Mesh*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__loc

        public static final long[] __DNA__FIELD__loc
        Field descriptor (offset) for struct member 'loc'.

        Field Documentation

        Blender Source Code

        Texture space location and size, used for procedural coordinates when rendering.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         Mesh mesh = ...;
         CPointer<Object> p = mesh.__dna__addressof(Mesh.__DNA__FIELD__loc);
         CPointer<CArrayFacade<Float>> p_loc = p.cast(new Class[]{CArrayFacade.class, Float.class});
         

        Metadata

        • Field: 'loc'
        • Signature: 'float[3]'
        • Actual Size (32bit/64bit): 12/12
      • __DNA__FIELD__size

        public static final long[] __DNA__FIELD__size
        Field descriptor (offset) for struct member 'size'.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         Mesh mesh = ...;
         CPointer<Object> p = mesh.__dna__addressof(Mesh.__DNA__FIELD__size);
         CPointer<CArrayFacade<Float>> p_size = p.cast(new Class[]{CArrayFacade.class, Float.class});
         

        Metadata

        • Field: 'size'
        • Signature: 'float[3]'
        • Actual Size (32bit/64bit): 12/12
      • __DNA__FIELD__texflag

        public static final long[] __DNA__FIELD__texflag
        Field descriptor (offset) for struct member 'texflag'.

        Field Documentation

        Java .Blend

        Values:

                ME_AUTOSPACE = 1
                                        

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         Mesh mesh = ...;
         CPointer<Object> p = mesh.__dna__addressof(Mesh.__DNA__FIELD__texflag);
         CPointer<Byte> p_texflag = p.cast(new Class[]{Byte.class});
         

        Metadata

        • Field: 'texflag'
        • Signature: 'char'
        • Actual Size (32bit/64bit): 1/1
      • __DNA__FIELD__editflag

        public static final long[] __DNA__FIELD__editflag
        Field descriptor (offset) for struct member 'editflag'.

        Field Documentation

        Blender Source Code

        Various flags used when editing the mesh.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         Mesh mesh = ...;
         CPointer<Object> p = mesh.__dna__addressof(Mesh.__DNA__FIELD__editflag);
         CPointer<Byte> p_editflag = p.cast(new Class[]{Byte.class});
         

        Metadata

        • Field: 'editflag'
        • Signature: 'char'
        • Actual Size (32bit/64bit): 1/1
      • __DNA__FIELD__flag

        public static final long[] __DNA__FIELD__flag
        Field descriptor (offset) for struct member 'flag'.

        Field Documentation

        Java .Blend

        Values:

         //     ME_ISDONE                  = 1 << 0, 
         //     ME_DEPRECATED              = 1 << 1, 
                ME_TWOSIDED                = 1 << 2,
                ME_UVEFFECT                = 1 << 3,
                ME_VCOLEFFECT              = 1 << 4,
                ME_AUTOSMOOTH              = 1 << 5,
                ME_SMESH                   = 1 << 6,
                ME_SUBSURF                 = 1 << 7,
                ME_OPT_EDGES               = 1 << 8,
                ME_DS_EXPAND               = 1 << 9,
                ME_SCULPT_DYNAMIC_TOPOLOGY = 1 << 10,
                                        

        Blender Source Code

        Mostly more flags used when editing or displaying the mesh.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         Mesh mesh = ...;
         CPointer<Object> p = mesh.__dna__addressof(Mesh.__DNA__FIELD__flag);
         CPointer<Short> p_flag = p.cast(new Class[]{Short.class});
         

        Metadata

        • Field: 'flag'
        • Signature: 'ushort'
        • Actual Size (32bit/64bit): 2/2
      • __DNA__FIELD__smoothresh

        public static final long[] __DNA__FIELD__smoothresh
        Field descriptor (offset) for struct member 'smoothresh'.

        Field Documentation

        Blender Source Code

        (180 degrees) causes all edges to be smooth.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         Mesh mesh = ...;
         CPointer<Object> p = mesh.__dna__addressof(Mesh.__DNA__FIELD__smoothresh);
         CPointer<Float> p_smoothresh = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'smoothresh'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__cd_flag

        public static final long[] __DNA__FIELD__cd_flag
        Field descriptor (offset) for struct member 'cd_flag'.

        Field Documentation

        Blender Source Code

        Flag for choosing whether or not so store bevel weight and crease as custom data layers in the edit mesh (they are always stored in MVert and MEdge currently). In the future, this data may be stored as generic named attributes (see T89054 and T93602).

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         Mesh mesh = ...;
         CPointer<Object> p = mesh.__dna__addressof(Mesh.__DNA__FIELD__cd_flag);
         CPointer<Byte> p_cd_flag = p.cast(new Class[]{Byte.class});
         

        Metadata

        • Field: 'cd_flag'
        • Signature: 'char'
        • Actual Size (32bit/64bit): 1/1
      • __DNA__FIELD__symmetry

        public static final long[] __DNA__FIELD__symmetry
        Field descriptor (offset) for struct member 'symmetry'.

        Field Documentation

        Blender Source Code

        User-defined symmetry flag (eMeshSymmetryType ) that causes editing operations to maintain symmetrical geometry. Supported by operations such as transform and weight-painting.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         Mesh mesh = ...;
         CPointer<Object> p = mesh.__dna__addressof(Mesh.__DNA__FIELD__symmetry);
         CPointer<Byte> p_symmetry = p.cast(new Class[]{Byte.class});
         

        Metadata

        • Field: 'symmetry'
        • Signature: 'char'
        • Actual Size (32bit/64bit): 1/1
      • __DNA__FIELD__totcol

        public static final long[] __DNA__FIELD__totcol
        Field descriptor (offset) for struct member 'totcol'.

        Field Documentation

        Blender Source Code

        The length of the getMat() array.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         Mesh mesh = ...;
         CPointer<Object> p = mesh.__dna__addressof(Mesh.__DNA__FIELD__totcol);
         CPointer<Short> p_totcol = p.cast(new Class[]{Short.class});
         

        Metadata

        • Field: 'totcol'
        • Signature: 'short'
        • Actual Size (32bit/64bit): 2/2
      • __DNA__FIELD__remesh_mode

        public static final long[] __DNA__FIELD__remesh_mode
        Field descriptor (offset) for struct member 'remesh_mode'.

        Field Documentation

        Blender Source Code

        Choice between different remesh methods in the UI.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         Mesh mesh = ...;
         CPointer<Object> p = mesh.__dna__addressof(Mesh.__DNA__FIELD__remesh_mode);
         CPointer<Byte> p_remesh_mode = p.cast(new Class[]{Byte.class});
         

        Metadata

        • Field: 'remesh_mode'
        • Signature: 'char'
        • Actual Size (32bit/64bit): 1/1
      • __DNA__FIELD__subdiv

        public static final long[] __DNA__FIELD__subdiv
        Deprecated.
        Deprecated

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         Mesh mesh = ...;
         CPointer<Object> p = mesh.__dna__addressof(Mesh.__DNA__FIELD__subdiv);
         CPointer<Byte> p_subdiv = p.cast(new Class[]{Byte.class});
         

        Metadata

        • Field: 'subdiv'
        • Signature: 'char'
        • Actual Size (32bit/64bit): 1/1
        Field descriptor (offset) for struct member 'subdiv'.

        Field Documentation

        Blender Source Code

      • __DNA__FIELD__subdivr

        public static final long[] __DNA__FIELD__subdivr
        Deprecated.
        Deprecated

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         Mesh mesh = ...;
         CPointer<Object> p = mesh.__dna__addressof(Mesh.__DNA__FIELD__subdivr);
         CPointer<Byte> p_subdivr = p.cast(new Class[]{Byte.class});
         

        Metadata

        • Field: 'subdivr'
        • Signature: 'char'
        • Actual Size (32bit/64bit): 1/1
        Field descriptor (offset) for struct member 'subdivr'.

        Field Documentation

        Blender Source Code

      • __DNA__FIELD__subsurftype

        public static final long[] __DNA__FIELD__subsurftype
        Deprecated.
        Deprecated

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         Mesh mesh = ...;
         CPointer<Object> p = mesh.__dna__addressof(Mesh.__DNA__FIELD__subsurftype);
         CPointer<Byte> p_subsurftype = p.cast(new Class[]{Byte.class});
         

        Metadata

        • Field: 'subsurftype'
        • Signature: 'char'
        • Actual Size (32bit/64bit): 1/1
        Field descriptor (offset) for struct member 'subsurftype'.

        Field Documentation

        Blender Source Code

      • __DNA__FIELD__mtface

        public static final long[] __DNA__FIELD__mtface
        Field descriptor (offset) for struct member 'mtface'.

        Field Documentation

        Blender Source Code

        Deprecated. Store of runtime data for tessellation face UVs and texture.

        Note

        This would be marked deprecated, however the particles still use this at run-time for placing particles on the mesh (something which should be eventually upgraded).

        This would be marked deprecated, however the particles still use this at run-time for placing particles on the mesh (something which should be eventually upgraded).

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         Mesh mesh = ...;
         CPointer<Object> p = mesh.__dna__addressof(Mesh.__DNA__FIELD__mtface);
         CPointer<CPointer<MTFace>> p_mtface = p.cast(new Class[]{CPointer.class, MTFace.class});
         

        Metadata

        • Field: 'mtface'
        • Signature: 'MTFace*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__tface

        public static final long[] __DNA__FIELD__tface
        Deprecated.
        Deprecated

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         Mesh mesh = ...;
         CPointer<Object> p = mesh.__dna__addressof(Mesh.__DNA__FIELD__tface);
         CPointer<CPointer<TFace>> p_tface = p.cast(new Class[]{CPointer.class, TFace.class});
         

        Metadata

        • Field: 'tface'
        • Signature: 'TFace*'
        • Actual Size (32bit/64bit): 4/8
        Field descriptor (offset) for struct member 'tface'.

        Field Documentation

        Blender Source Code

        Deprecated, use mtface.

      • __DNA__FIELD__mcol

        public static final long[] __DNA__FIELD__mcol
        Field descriptor (offset) for struct member 'mcol'.

        Field Documentation

        Blender Source Code

        Deprecated. Array of colors for the tessellated faces, must be number of tessellated faces * 4 in length. This is stored in getFdata() , and deprecated.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         Mesh mesh = ...;
         CPointer<Object> p = mesh.__dna__addressof(Mesh.__DNA__FIELD__mcol);
         CPointer<CPointer<MCol>> p_mcol = p.cast(new Class[]{CPointer.class, MCol.class});
         

        Metadata

        • Field: 'mcol'
        • Signature: 'MCol*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__mface

        public static final long[] __DNA__FIELD__mface
        Field descriptor (offset) for struct member 'mface'.

        Field Documentation

        Blender Source Code

        Deprecated face storage (quads & triangles only); faces are now pointed to by getMpoly() and getMloop() .

        Note

        This would be marked deprecated, however the particles still use this at run-time for placing particles on the mesh (something which should be eventually upgraded).

        This would be marked deprecated, however the particles still use this at run-time for placing particles on the mesh (something which should be eventually upgraded).

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         Mesh mesh = ...;
         CPointer<Object> p = mesh.__dna__addressof(Mesh.__DNA__FIELD__mface);
         CPointer<CPointer<MFace>> p_mface = p.cast(new Class[]{CPointer.class, MFace.class});
         

        Metadata

        • Field: 'mface'
        • Signature: 'MFace*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__fdata

        public static final long[] __DNA__FIELD__fdata
        Field descriptor (offset) for struct member 'fdata'.

        Field Documentation

        Java .Blend

        Custom data layers containing MFace.

        Blender Source Code

        Deprecated storage of old faces (only triangles or quads).

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         Mesh mesh = ...;
         CPointer<Object> p = mesh.__dna__addressof(Mesh.__DNA__FIELD__fdata);
         CPointer<CustomData> p_fdata = p.cast(new Class[]{CustomData.class});
         

        Metadata

        • Field: 'fdata'
        • Signature: 'CustomData'
        • Actual Size (32bit/64bit): 236/248
      • __DNA__FIELD__totface

        public static final long[] __DNA__FIELD__totface
        Field descriptor (offset) for struct member 'totface'.

        Field Documentation

        Blender Source Code

        Deprecated size of getFdata() .

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         Mesh mesh = ...;
         CPointer<Object> p = mesh.__dna__addressof(Mesh.__DNA__FIELD__totface);
         CPointer<Integer> p_totface = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'totface'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__remesh_voxel_size

        public static final long[] __DNA__FIELD__remesh_voxel_size
        Field descriptor (offset) for struct member 'remesh_voxel_size'.

        Field Documentation

        Blender Python API

        Size of the voxel in object space used for volume evaluation. Lower values preserve finer details

        Blender Source Code

        Per-mesh settings for voxel remesh.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         Mesh mesh = ...;
         CPointer<Object> p = mesh.__dna__addressof(Mesh.__DNA__FIELD__remesh_voxel_size);
         CPointer<Float> p_remesh_voxel_size = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'remesh_voxel_size'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__remesh_voxel_adaptivity

        public static final long[] __DNA__FIELD__remesh_voxel_adaptivity
        Field descriptor (offset) for struct member 'remesh_voxel_adaptivity'.

        Field Documentation

        Blender Python API

        Reduces the final face count by simplifying geometry where detail is not needed, generating triangles. A value greater than 0 disables Fix Poles

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         Mesh mesh = ...;
         CPointer<Object> p = mesh.__dna__addressof(Mesh.__DNA__FIELD__remesh_voxel_adaptivity);
         CPointer<Float> p_remesh_voxel_adaptivity = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'remesh_voxel_adaptivity'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__face_sets_color_seed

        public static final long[] __DNA__FIELD__face_sets_color_seed
        Field descriptor (offset) for struct member 'face_sets_color_seed'.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         Mesh mesh = ...;
         CPointer<Object> p = mesh.__dna__addressof(Mesh.__DNA__FIELD__face_sets_color_seed);
         CPointer<Integer> p_face_sets_color_seed = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'face_sets_color_seed'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__face_sets_color_default

        public static final long[] __DNA__FIELD__face_sets_color_default
        Field descriptor (offset) for struct member 'face_sets_color_default'.

        Field Documentation

        Blender Source Code

        Stores the initial Face Set to be rendered white. This way the overlay can be enabled by default and Face Sets can be used without affecting the color of the mesh.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         Mesh mesh = ...;
         CPointer<Object> p = mesh.__dna__addressof(Mesh.__DNA__FIELD__face_sets_color_default);
         CPointer<Integer> p_face_sets_color_default = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'face_sets_color_default'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD___pad1

        public static final long[] __DNA__FIELD___pad1
        Field descriptor (offset) for struct member '_pad1'.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         Mesh mesh = ...;
         CPointer<Object> p = mesh.__dna__addressof(Mesh.__DNA__FIELD___pad1);
         CPointer<CArrayFacade<Byte>> p__pad1 = p.cast(new Class[]{CArrayFacade.class, Byte.class});
         

        Metadata

        • Field: '_pad1'
        • Signature: 'char[4]'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD___pad2

        public static final long[] __DNA__FIELD___pad2
        Field descriptor (offset) for struct member '_pad2'.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         Mesh mesh = ...;
         CPointer<Object> p = mesh.__dna__addressof(Mesh.__DNA__FIELD___pad2);
         CPointer<CPointer<Object>> p__pad2 = p.cast(new Class[]{CPointer.class, Object.class});
         

        Metadata

        • Field: '_pad2'
        • Signature: 'void*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__runtime

        public static final long[] __DNA__FIELD__runtime
        Field descriptor (offset) for struct member 'runtime'.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         Mesh mesh = ...;
         CPointer<Object> p = mesh.__dna__addressof(Mesh.__DNA__FIELD__runtime);
         CPointer<Mesh_Runtime> p_runtime = p.cast(new Class[]{Mesh_Runtime.class});
         

        Metadata

        • Field: 'runtime'
        • Signature: 'Mesh_Runtime'
        • Actual Size (32bit/64bit): 128/192
    • Constructor Detail

      • Mesh

        public Mesh​(long __address,
                    Block __block,
                    BlockTable __blockTable)
      • Mesh

        protected Mesh​(Mesh that)
    • Method Detail

      • getId

        public ID getId()
                 throws java.io.IOException
        Get method for struct member 'id'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__id
      • setId

        public void setId​(ID id)
                   throws java.io.IOException
        Set method for struct member 'id'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__id
      • getAdt

        public CPointer<AnimData> getAdt()
                                  throws java.io.IOException
        Get method for struct member 'adt'.

        Field Documentation

        Blender Source Code

        Animation data (must be immediately after id for utilities to use it).

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__adt
      • setAdt

        public void setAdt​(CPointer<AnimData> adt)
                    throws java.io.IOException
        Set method for struct member 'adt'.

        Field Documentation

        Blender Source Code

        Animation data (must be immediately after id for utilities to use it).

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__adt
      • getIpo

        public CPointer<Ipo> getIpo()
                             throws java.io.IOException
        Deprecated.
        Deprecated

        Get method for struct member 'ipo'.

        Field Documentation

        Blender Source Code

        Old animation system, deprecated for 2.5.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__ipo
      • setIpo

        public void setIpo​(CPointer<Ipo> ipo)
                    throws java.io.IOException
        Deprecated.
        Deprecated

        Set method for struct member 'ipo'.

        Field Documentation

        Blender Source Code

        Old animation system, deprecated for 2.5.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__ipo
      • getKey

        public CPointer<Key> getKey()
                             throws java.io.IOException
        Get method for struct member 'key'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__key
      • setKey

        public void setKey​(CPointer<Key> key)
                    throws java.io.IOException
        Set method for struct member 'key'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__key
      • getMat

        public CPointer<CPointer<Material>> getMat()
                                            throws java.io.IOException
        Get method for struct member 'mat'.

        Field Documentation

        Blender Source Code

        An array of materials, with length getTotcol() . These can be overridden by material slots on Object . Indices in #MPoly.mat_nr control which material is used for every face.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__mat
      • setMat

        public void setMat​(CPointer<CPointer<Material>> mat)
                    throws java.io.IOException
        Set method for struct member 'mat'.

        Field Documentation

        Blender Source Code

        An array of materials, with length getTotcol() . These can be overridden by material slots on Object . Indices in #MPoly.mat_nr control which material is used for every face.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__mat
      • getMvert

        public CPointer<MVert> getMvert()
                                 throws java.io.IOException
        Get method for struct member 'mvert'.

        Field Documentation

        Java .Blend

        pointer on array with vertices, which is contained in a custom data layer referenced by getVdata()]

        Blender Source Code

        Array of vertices. Edges and faces are defined by indices into this array.

        Note

        This pointer is for convenient access to the #CD_MVERT layer in #vdata.

        This pointer is for convenient access to the #CD_MVERT layer in #vdata.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__mvert
      • setMvert

        public void setMvert​(CPointer<MVert> mvert)
                      throws java.io.IOException
        Set method for struct member 'mvert'.

        Field Documentation

        Java .Blend

        pointer on array with vertices, which is contained in a custom data layer referenced by getVdata()]

        Blender Source Code

        Array of vertices. Edges and faces are defined by indices into this array.

        Note

        This pointer is for convenient access to the #CD_MVERT layer in #vdata.

        This pointer is for convenient access to the #CD_MVERT layer in #vdata.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__mvert
      • getMedge

        public CPointer<MEdge> getMedge()
                                 throws java.io.IOException
        Get method for struct member 'medge'.

        Field Documentation

        Java .Blend

        pointer on array with edges, which is contained in a custom data layer referenced by getEdata()]

        Blender Source Code

        Array of edges, containing vertex indices. For simple triangle or quad meshes, edges could be calculated from the MPoly and MLoop arrays, however, edges need to be stored explicitly to edge domain attributes and to support loose edges that aren't connected to faces.

        Note

        This pointer is for convenient access to the #CD_MEDGE layer in #edata.

        This pointer is for convenient access to the #CD_MEDGE layer in #edata.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__medge
      • setMedge

        public void setMedge​(CPointer<MEdge> medge)
                      throws java.io.IOException
        Set method for struct member 'medge'.

        Field Documentation

        Java .Blend

        pointer on array with edges, which is contained in a custom data layer referenced by getEdata()]

        Blender Source Code

        Array of edges, containing vertex indices. For simple triangle or quad meshes, edges could be calculated from the MPoly and MLoop arrays, however, edges need to be stored explicitly to edge domain attributes and to support loose edges that aren't connected to faces.

        Note

        This pointer is for convenient access to the #CD_MEDGE layer in #edata.

        This pointer is for convenient access to the #CD_MEDGE layer in #edata.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__medge
      • getMpoly

        public CPointer<MPoly> getMpoly()
                                 throws java.io.IOException
        Get method for struct member 'mpoly'.

        Field Documentation

        Blender Source Code

        Face topology storage of the size and offset of each face's section of the getMloop() attribute.

        Note

        This pointer is for convenient access to the CD_MPOLY layer in #pdata.

        This pointer is for convenient access to the CD_MPOLY layer in #pdata.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__mpoly
      • setMpoly

        public void setMpoly​(CPointer<MPoly> mpoly)
                      throws java.io.IOException
        Set method for struct member 'mpoly'.

        Field Documentation

        Blender Source Code

        Face topology storage of the size and offset of each face's section of the getMloop() attribute.

        Note

        This pointer is for convenient access to the CD_MPOLY layer in #pdata.

        This pointer is for convenient access to the CD_MPOLY layer in #pdata.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__mpoly
      • getMloop

        public CPointer<MLoop> getMloop()
                                 throws java.io.IOException
        Get method for struct member 'mloop'.

        Field Documentation

        Java .Blend

        pointer on array with loops, which is contained in a custom data layer referenced by getLdata()]

        Blender Source Code

        The vertex and edge index at each face corner.

        Note

        This pointer is for convenient access to the #CD_MLOOP layer in #ldata.

        This pointer is for convenient access to the #CD_MLOOP layer in #ldata.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__mloop
      • setMloop

        public void setMloop​(CPointer<MLoop> mloop)
                      throws java.io.IOException
        Set method for struct member 'mloop'.

        Field Documentation

        Java .Blend

        pointer on array with loops, which is contained in a custom data layer referenced by getLdata()]

        Blender Source Code

        The vertex and edge index at each face corner.

        Note

        This pointer is for convenient access to the #CD_MLOOP layer in #ldata.

        This pointer is for convenient access to the #CD_MLOOP layer in #ldata.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__mloop
      • getTotvert

        public int getTotvert()
                       throws java.io.IOException
        Get method for struct member 'totvert'.

        Field Documentation

        Blender Source Code

        The number of vertices (MVert ) in the mesh, and the size of #vdata.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__totvert
      • setTotvert

        public void setTotvert​(int totvert)
                        throws java.io.IOException
        Set method for struct member 'totvert'.

        Field Documentation

        Blender Source Code

        The number of vertices (MVert ) in the mesh, and the size of #vdata.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__totvert
      • getTotedge

        public int getTotedge()
                       throws java.io.IOException
        Get method for struct member 'totedge'.

        Field Documentation

        Blender Source Code

        The number of edges (MEdge ) in the mesh, and the size of #edata.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__totedge
      • setTotedge

        public void setTotedge​(int totedge)
                        throws java.io.IOException
        Set method for struct member 'totedge'.

        Field Documentation

        Blender Source Code

        The number of edges (MEdge ) in the mesh, and the size of #edata.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__totedge
      • getTotpoly

        public int getTotpoly()
                       throws java.io.IOException
        Get method for struct member 'totpoly'.

        Field Documentation

        Blender Source Code

        The number of polygons/faces (MPoly ) in the mesh, and the size of #pdata.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__totpoly
      • setTotpoly

        public void setTotpoly​(int totpoly)
                        throws java.io.IOException
        Set method for struct member 'totpoly'.

        Field Documentation

        Blender Source Code

        The number of polygons/faces (MPoly ) in the mesh, and the size of #pdata.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__totpoly
      • getTotloop

        public int getTotloop()
                       throws java.io.IOException
        Get method for struct member 'totloop'.

        Field Documentation

        Blender Source Code

        The number of face corners (MLoop ) in the mesh, and the size of #ldata.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__totloop
      • setTotloop

        public void setTotloop​(int totloop)
                        throws java.io.IOException
        Set method for struct member 'totloop'.

        Field Documentation

        Blender Source Code

        The number of face corners (MLoop ) in the mesh, and the size of #ldata.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__totloop
      • getVdata

        public CustomData getVdata()
                            throws java.io.IOException
        Get method for struct member 'vdata'.

        Field Documentation

        Java .Blend

        Custom data layers containing vertices.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__vdata
      • setVdata

        public void setVdata​(CustomData vdata)
                      throws java.io.IOException
        Set method for struct member 'vdata'.

        Field Documentation

        Java .Blend

        Custom data layers containing vertices.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__vdata
      • getEdata

        public CustomData getEdata()
                            throws java.io.IOException
        Get method for struct member 'edata'.

        Field Documentation

        Java .Blend

        Custom data layers containing edges.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__edata
      • setEdata

        public void setEdata​(CustomData edata)
                      throws java.io.IOException
        Set method for struct member 'edata'.

        Field Documentation

        Java .Blend

        Custom data layers containing edges.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__edata
      • getPdata

        public CustomData getPdata()
                            throws java.io.IOException
        Get method for struct member 'pdata'.

        Field Documentation

        Java .Blend

        Custom data layers containing MTexPolys and MPolys.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__pdata
      • setPdata

        public void setPdata​(CustomData pdata)
                      throws java.io.IOException
        Set method for struct member 'pdata'.

        Field Documentation

        Java .Blend

        Custom data layers containing MTexPolys and MPolys.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__pdata
      • getLdata

        public CustomData getLdata()
                            throws java.io.IOException
        Get method for struct member 'ldata'.

        Field Documentation

        Java .Blend

        Custom data layers containing MLoopUVs and MLoops.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__ldata
      • setLdata

        public void setLdata​(CustomData ldata)
                      throws java.io.IOException
        Set method for struct member 'ldata'.

        Field Documentation

        Java .Blend

        Custom data layers containing MLoopUVs and MLoops.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__ldata
      • getDvert

        public CPointer<MDeformVert> getDvert()
                                       throws java.io.IOException
        Get method for struct member 'dvert'.

        Field Documentation

        Blender Source Code

        "Vertex group" vertices.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__dvert
      • setDvert

        public void setDvert​(CPointer<MDeformVert> dvert)
                      throws java.io.IOException
        Set method for struct member 'dvert'.

        Field Documentation

        Blender Source Code

        "Vertex group" vertices.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__dvert
      • getVertex_group_names

        public ListBase getVertex_group_names()
                                       throws java.io.IOException
        Get method for struct member 'vertex_group_names'.

        Field Documentation

        Blender Source Code

        List of vertex group (bDeformGroup ) names and flags only. Actual weights are stored in dvert.

        Note

        This pointer is for convenient access to the #CD_MDEFORMVERT layer in #vdata.

        This pointer is for convenient access to the #CD_MDEFORMVERT layer in #vdata.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__vertex_group_names
      • setVertex_group_names

        public void setVertex_group_names​(ListBase vertex_group_names)
                                   throws java.io.IOException
        Set method for struct member 'vertex_group_names'.

        Field Documentation

        Blender Source Code

        List of vertex group (bDeformGroup ) names and flags only. Actual weights are stored in dvert.

        Note

        This pointer is for convenient access to the #CD_MDEFORMVERT layer in #vdata.

        This pointer is for convenient access to the #CD_MDEFORMVERT layer in #vdata.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__vertex_group_names
      • getVertex_group_active_index

        public int getVertex_group_active_index()
                                         throws java.io.IOException
        Get method for struct member 'vertex_group_active_index'.

        Field Documentation

        Blender Source Code

        The active index in the getVertex_group_names() list.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__vertex_group_active_index
      • setVertex_group_active_index

        public void setVertex_group_active_index​(int vertex_group_active_index)
                                          throws java.io.IOException
        Set method for struct member 'vertex_group_active_index'.

        Field Documentation

        Blender Source Code

        The active index in the getVertex_group_names() list.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__vertex_group_active_index
      • getAttributes_active_index

        public int getAttributes_active_index()
                                       throws java.io.IOException
        Get method for struct member 'attributes_active_index'.

        Field Documentation

        Blender Source Code

        The index of the active attribute in the UI. The attribute list is a combination of the generic type attributes from vertex, edge, face, and corner custom data.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__attributes_active_index
      • setAttributes_active_index

        public void setAttributes_active_index​(int attributes_active_index)
                                        throws java.io.IOException
        Set method for struct member 'attributes_active_index'.

        Field Documentation

        Blender Source Code

        The index of the active attribute in the UI. The attribute list is a combination of the generic type attributes from vertex, edge, face, and corner custom data.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__attributes_active_index
      • getMloopuv

        public CPointer<MLoopUV> getMloopuv()
                                     throws java.io.IOException
        Get method for struct member 'mloopuv'.

        Field Documentation

        Java .Blend

        pointer on array with UV coordinates, which is contained in a custom data layer referenced by getLdata()]

        Blender Source Code

        2D vector data used for UVs. "UV" data can also be stored as generic attributes in #ldata.

        Note

        This pointer is for convenient access to the CD_MLOOPUV layer in #ldata.

        This pointer is for convenient access to the CD_MLOOPUV layer in #ldata.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__mloopuv
      • setMloopuv

        public void setMloopuv​(CPointer<MLoopUV> mloopuv)
                        throws java.io.IOException
        Set method for struct member 'mloopuv'.

        Field Documentation

        Java .Blend

        pointer on array with UV coordinates, which is contained in a custom data layer referenced by getLdata()]

        Blender Source Code

        2D vector data used for UVs. "UV" data can also be stored as generic attributes in #ldata.

        Note

        This pointer is for convenient access to the CD_MLOOPUV layer in #ldata.

        This pointer is for convenient access to the CD_MLOOPUV layer in #ldata.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__mloopuv
      • getMloopcol

        public CPointer<MLoopCol> getMloopcol()
                                       throws java.io.IOException
        Get method for struct member 'mloopcol'.

        Field Documentation

        Blender Source Code

        The active vertex corner color layer, if it exists. Also called "Vertex Color" in Blender's UI, even though it is stored per face corner.

        Note

        This pointer is for convenient access to the #CD_PROP_BYTE_COLOR layer in #ldata.

        This pointer is for convenient access to the #CD_PROP_BYTE_COLOR layer in #ldata.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__mloopcol
      • setMloopcol

        public void setMloopcol​(CPointer<MLoopCol> mloopcol)
                         throws java.io.IOException
        Set method for struct member 'mloopcol'.

        Field Documentation

        Blender Source Code

        The active vertex corner color layer, if it exists. Also called "Vertex Color" in Blender's UI, even though it is stored per face corner.

        Note

        This pointer is for convenient access to the #CD_PROP_BYTE_COLOR layer in #ldata.

        This pointer is for convenient access to the #CD_PROP_BYTE_COLOR layer in #ldata.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__mloopcol
      • getEdit_mesh

        public CPointer<java.lang.Object> getEdit_mesh()
                                                throws java.io.IOException
        Get method for struct member 'edit_mesh'.

        Field Documentation

        Blender Source Code

        Runtime storage of the edit mode mesh. If it exists, it generally has the most up-to-date information about the mesh.

        Note

        When the object is available, the preferred access method is #BKE_editmesh_from_object.

        When the object is available, the preferred access method is #BKE_editmesh_from_object.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__edit_mesh
      • setEdit_mesh

        public void setEdit_mesh​(CPointer<java.lang.Object> edit_mesh)
                          throws java.io.IOException
        Set method for struct member 'edit_mesh'.

        Field Documentation

        Blender Source Code

        Runtime storage of the edit mode mesh. If it exists, it generally has the most up-to-date information about the mesh.

        Note

        When the object is available, the preferred access method is #BKE_editmesh_from_object.

        When the object is available, the preferred access method is #BKE_editmesh_from_object.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__edit_mesh
      • getMselect

        public CPointer<MSelect> getMselect()
                                     throws java.io.IOException
        Get method for struct member 'mselect'.

        Field Documentation

        Blender Source Code

        This array represents the selection order when the user manually picks elements in edit-mode, some tools take advantage of this information. All elements in this array are expected to be selected, see #BKE_mesh_mselect_validate which ensures this. For procedurally created meshes, this is generally empty (selections are stored as boolean attributes in the corresponding custom data).

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__mselect
      • setMselect

        public void setMselect​(CPointer<MSelect> mselect)
                        throws java.io.IOException
        Set method for struct member 'mselect'.

        Field Documentation

        Blender Source Code

        This array represents the selection order when the user manually picks elements in edit-mode, some tools take advantage of this information. All elements in this array are expected to be selected, see #BKE_mesh_mselect_validate which ensures this. For procedurally created meshes, this is generally empty (selections are stored as boolean attributes in the corresponding custom data).

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__mselect
      • getTotselect

        public int getTotselect()
                         throws java.io.IOException
        Get method for struct member 'totselect'.

        Field Documentation

        Java .Blend

        Number of entries in mselect (see getMselect()).

        Blender Source Code

        The length of the getMselect() array.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__totselect
      • setTotselect

        public void setTotselect​(int totselect)
                          throws java.io.IOException
        Set method for struct member 'totselect'.

        Field Documentation

        Java .Blend

        Number of entries in mselect (see getMselect()).

        Blender Source Code

        The length of the getMselect() array.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__totselect
      • getAct_face

        public int getAct_face()
                        throws java.io.IOException
        Get method for struct member 'act_face'.

        Field Documentation

        Blender Source Code

        In most cases the last selected element (see getMselect() ) represents the active element. For faces we make an exception and store the active face separately so it can be active even when no faces are selected. This is done to prevent flickering in the material properties and UV Editor which base the content they display on the current material which is controlled by the active face.

        Note

        This is mainly stored for use in edit-mode.

        This is mainly stored for use in edit-mode.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__act_face
      • setAct_face

        public void setAct_face​(int act_face)
                         throws java.io.IOException
        Set method for struct member 'act_face'.

        Field Documentation

        Blender Source Code

        In most cases the last selected element (see getMselect() ) represents the active element. For faces we make an exception and store the active face separately so it can be active even when no faces are selected. This is done to prevent flickering in the material properties and UV Editor which base the content they display on the current material which is controlled by the active face.

        Note

        This is mainly stored for use in edit-mode.

        This is mainly stored for use in edit-mode.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__act_face
      • getTexcomesh

        public CPointer<Mesh> getTexcomesh()
                                    throws java.io.IOException
        Get method for struct member 'texcomesh'.

        Field Documentation

        Blender Source Code

        An optional mesh owned elsewhere (by #Main) that can be used to override the texture space getLoc() and #size.

        Note

        Vertex indices should be aligned for this to work usefully.

        Vertex indices should be aligned for this to work usefully.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__texcomesh
      • setTexcomesh

        public void setTexcomesh​(CPointer<Mesh> texcomesh)
                          throws java.io.IOException
        Set method for struct member 'texcomesh'.

        Field Documentation

        Blender Source Code

        An optional mesh owned elsewhere (by #Main) that can be used to override the texture space getLoc() and #size.

        Note

        Vertex indices should be aligned for this to work usefully.

        Vertex indices should be aligned for this to work usefully.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__texcomesh
      • getLoc

        public CArrayFacade<java.lang.Float> getLoc()
                                             throws java.io.IOException
        Get method for struct member 'loc'.

        Field Documentation

        Blender Source Code

        Texture space location and size, used for procedural coordinates when rendering.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__loc
      • setLoc

        public void setLoc​(CArrayFacade<java.lang.Float> loc)
                    throws java.io.IOException
        Set method for struct member 'loc'.

        Field Documentation

        Blender Source Code

        Texture space location and size, used for procedural coordinates when rendering.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__loc
      • getSize

        public CArrayFacade<java.lang.Float> getSize()
                                              throws java.io.IOException
        Get method for struct member 'size'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__size
      • setSize

        public void setSize​(CArrayFacade<java.lang.Float> size)
                     throws java.io.IOException
        Set method for struct member 'size'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__size
      • getTexflag

        public byte getTexflag()
                        throws java.io.IOException
        Get method for struct member 'texflag'.

        Field Documentation

        Java .Blend

        Values:

                ME_AUTOSPACE = 1
                                        
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__texflag
      • setTexflag

        public void setTexflag​(byte texflag)
                        throws java.io.IOException
        Set method for struct member 'texflag'.

        Field Documentation

        Java .Blend

        Values:

                ME_AUTOSPACE = 1
                                        
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__texflag
      • getEditflag

        public byte getEditflag()
                         throws java.io.IOException
        Get method for struct member 'editflag'.

        Field Documentation

        Blender Source Code

        Various flags used when editing the mesh.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__editflag
      • setEditflag

        public void setEditflag​(byte editflag)
                         throws java.io.IOException
        Set method for struct member 'editflag'.

        Field Documentation

        Blender Source Code

        Various flags used when editing the mesh.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__editflag
      • getFlag

        public short getFlag()
                      throws java.io.IOException
        Get method for struct member 'flag'.

        Field Documentation

        Java .Blend

        Values:

         //     ME_ISDONE                  = 1 << 0, 
         //     ME_DEPRECATED              = 1 << 1, 
                ME_TWOSIDED                = 1 << 2,
                ME_UVEFFECT                = 1 << 3,
                ME_VCOLEFFECT              = 1 << 4,
                ME_AUTOSMOOTH              = 1 << 5,
                ME_SMESH                   = 1 << 6,
                ME_SUBSURF                 = 1 << 7,
                ME_OPT_EDGES               = 1 << 8,
                ME_DS_EXPAND               = 1 << 9,
                ME_SCULPT_DYNAMIC_TOPOLOGY = 1 << 10,
                                        

        Blender Source Code

        Mostly more flags used when editing or displaying the mesh.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__flag
      • setFlag

        public void setFlag​(short flag)
                     throws java.io.IOException
        Set method for struct member 'flag'.

        Field Documentation

        Java .Blend

        Values:

         //     ME_ISDONE                  = 1 << 0, 
         //     ME_DEPRECATED              = 1 << 1, 
                ME_TWOSIDED                = 1 << 2,
                ME_UVEFFECT                = 1 << 3,
                ME_VCOLEFFECT              = 1 << 4,
                ME_AUTOSMOOTH              = 1 << 5,
                ME_SMESH                   = 1 << 6,
                ME_SUBSURF                 = 1 << 7,
                ME_OPT_EDGES               = 1 << 8,
                ME_DS_EXPAND               = 1 << 9,
                ME_SCULPT_DYNAMIC_TOPOLOGY = 1 << 10,
                                        

        Blender Source Code

        Mostly more flags used when editing or displaying the mesh.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__flag
      • getSmoothresh

        public float getSmoothresh()
                            throws java.io.IOException
        Get method for struct member 'smoothresh'.

        Field Documentation

        Blender Source Code

        (180 degrees) causes all edges to be smooth.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__smoothresh
      • setSmoothresh

        public void setSmoothresh​(float smoothresh)
                           throws java.io.IOException
        Set method for struct member 'smoothresh'.

        Field Documentation

        Blender Source Code

        (180 degrees) causes all edges to be smooth.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__smoothresh
      • getCd_flag

        public byte getCd_flag()
                        throws java.io.IOException
        Get method for struct member 'cd_flag'.

        Field Documentation

        Blender Source Code

        Flag for choosing whether or not so store bevel weight and crease as custom data layers in the edit mesh (they are always stored in MVert and MEdge currently). In the future, this data may be stored as generic named attributes (see T89054 and T93602).

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__cd_flag
      • setCd_flag

        public void setCd_flag​(byte cd_flag)
                        throws java.io.IOException
        Set method for struct member 'cd_flag'.

        Field Documentation

        Blender Source Code

        Flag for choosing whether or not so store bevel weight and crease as custom data layers in the edit mesh (they are always stored in MVert and MEdge currently). In the future, this data may be stored as generic named attributes (see T89054 and T93602).

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__cd_flag
      • getSymmetry

        public byte getSymmetry()
                         throws java.io.IOException
        Get method for struct member 'symmetry'.

        Field Documentation

        Blender Source Code

        User-defined symmetry flag (eMeshSymmetryType ) that causes editing operations to maintain symmetrical geometry. Supported by operations such as transform and weight-painting.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__symmetry
      • setSymmetry

        public void setSymmetry​(byte symmetry)
                         throws java.io.IOException
        Set method for struct member 'symmetry'.

        Field Documentation

        Blender Source Code

        User-defined symmetry flag (eMeshSymmetryType ) that causes editing operations to maintain symmetrical geometry. Supported by operations such as transform and weight-painting.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__symmetry
      • getTotcol

        public short getTotcol()
                        throws java.io.IOException
        Get method for struct member 'totcol'.

        Field Documentation

        Blender Source Code

        The length of the getMat() array.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__totcol
      • setTotcol

        public void setTotcol​(short totcol)
                       throws java.io.IOException
        Set method for struct member 'totcol'.

        Field Documentation

        Blender Source Code

        The length of the getMat() array.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__totcol
      • getRemesh_mode

        public byte getRemesh_mode()
                            throws java.io.IOException
        Get method for struct member 'remesh_mode'.

        Field Documentation

        Blender Source Code

        Choice between different remesh methods in the UI.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__remesh_mode
      • setRemesh_mode

        public void setRemesh_mode​(byte remesh_mode)
                            throws java.io.IOException
        Set method for struct member 'remesh_mode'.

        Field Documentation

        Blender Source Code

        Choice between different remesh methods in the UI.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__remesh_mode
      • getSubdiv

        public byte getSubdiv()
                       throws java.io.IOException
        Deprecated.
        Deprecated

        Get method for struct member 'subdiv'.

        Field Documentation

        Blender Source Code

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__subdiv
      • setSubdiv

        public void setSubdiv​(byte subdiv)
                       throws java.io.IOException
        Deprecated.
        Deprecated

        Set method for struct member 'subdiv'.

        Field Documentation

        Blender Source Code

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__subdiv
      • getSubdivr

        public byte getSubdivr()
                        throws java.io.IOException
        Deprecated.
        Deprecated

        Get method for struct member 'subdivr'.

        Field Documentation

        Blender Source Code

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__subdivr
      • setSubdivr

        public void setSubdivr​(byte subdivr)
                        throws java.io.IOException
        Deprecated.
        Deprecated

        Set method for struct member 'subdivr'.

        Field Documentation

        Blender Source Code

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__subdivr
      • getSubsurftype

        public byte getSubsurftype()
                            throws java.io.IOException
        Deprecated.
        Deprecated

        Get method for struct member 'subsurftype'.

        Field Documentation

        Blender Source Code

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__subsurftype
      • setSubsurftype

        public void setSubsurftype​(byte subsurftype)
                            throws java.io.IOException
        Deprecated.
        Deprecated

        Set method for struct member 'subsurftype'.

        Field Documentation

        Blender Source Code

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__subsurftype
      • getMtface

        public CPointer<MTFace> getMtface()
                                   throws java.io.IOException
        Get method for struct member 'mtface'.

        Field Documentation

        Blender Source Code

        Deprecated. Store of runtime data for tessellation face UVs and texture.

        Note

        This would be marked deprecated, however the particles still use this at run-time for placing particles on the mesh (something which should be eventually upgraded).

        This would be marked deprecated, however the particles still use this at run-time for placing particles on the mesh (something which should be eventually upgraded).

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__mtface
      • setMtface

        public void setMtface​(CPointer<MTFace> mtface)
                       throws java.io.IOException
        Set method for struct member 'mtface'.

        Field Documentation

        Blender Source Code

        Deprecated. Store of runtime data for tessellation face UVs and texture.

        Note

        This would be marked deprecated, however the particles still use this at run-time for placing particles on the mesh (something which should be eventually upgraded).

        This would be marked deprecated, however the particles still use this at run-time for placing particles on the mesh (something which should be eventually upgraded).

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__mtface
      • getTface

        public CPointer<TFace> getTface()
                                 throws java.io.IOException
        Deprecated.
        Deprecated

        Get method for struct member 'tface'.

        Field Documentation

        Blender Source Code

        Deprecated, use mtface.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__tface
      • setTface

        public void setTface​(CPointer<TFace> tface)
                      throws java.io.IOException
        Deprecated.
        Deprecated

        Set method for struct member 'tface'.

        Field Documentation

        Blender Source Code

        Deprecated, use mtface.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__tface
      • getMcol

        public CPointer<MCol> getMcol()
                               throws java.io.IOException
        Get method for struct member 'mcol'.

        Field Documentation

        Blender Source Code

        Deprecated. Array of colors for the tessellated faces, must be number of tessellated faces * 4 in length. This is stored in getFdata() , and deprecated.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__mcol
      • setMcol

        public void setMcol​(CPointer<MCol> mcol)
                     throws java.io.IOException
        Set method for struct member 'mcol'.

        Field Documentation

        Blender Source Code

        Deprecated. Array of colors for the tessellated faces, must be number of tessellated faces * 4 in length. This is stored in getFdata() , and deprecated.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__mcol
      • getMface

        public CPointer<MFace> getMface()
                                 throws java.io.IOException
        Get method for struct member 'mface'.

        Field Documentation

        Blender Source Code

        Deprecated face storage (quads & triangles only); faces are now pointed to by getMpoly() and getMloop() .

        Note

        This would be marked deprecated, however the particles still use this at run-time for placing particles on the mesh (something which should be eventually upgraded).

        This would be marked deprecated, however the particles still use this at run-time for placing particles on the mesh (something which should be eventually upgraded).

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__mface
      • setMface

        public void setMface​(CPointer<MFace> mface)
                      throws java.io.IOException
        Set method for struct member 'mface'.

        Field Documentation

        Blender Source Code

        Deprecated face storage (quads & triangles only); faces are now pointed to by getMpoly() and getMloop() .

        Note

        This would be marked deprecated, however the particles still use this at run-time for placing particles on the mesh (something which should be eventually upgraded).

        This would be marked deprecated, however the particles still use this at run-time for placing particles on the mesh (something which should be eventually upgraded).

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__mface
      • getFdata

        public CustomData getFdata()
                            throws java.io.IOException
        Get method for struct member 'fdata'.

        Field Documentation

        Java .Blend

        Custom data layers containing MFace.

        Blender Source Code

        Deprecated storage of old faces (only triangles or quads).

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__fdata
      • setFdata

        public void setFdata​(CustomData fdata)
                      throws java.io.IOException
        Set method for struct member 'fdata'.

        Field Documentation

        Java .Blend

        Custom data layers containing MFace.

        Blender Source Code

        Deprecated storage of old faces (only triangles or quads).

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__fdata
      • getTotface

        public int getTotface()
                       throws java.io.IOException
        Get method for struct member 'totface'.

        Field Documentation

        Blender Source Code

        Deprecated size of getFdata() .

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__totface
      • setTotface

        public void setTotface​(int totface)
                        throws java.io.IOException
        Set method for struct member 'totface'.

        Field Documentation

        Blender Source Code

        Deprecated size of getFdata() .

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__totface
      • getRemesh_voxel_size

        public float getRemesh_voxel_size()
                                   throws java.io.IOException
        Get method for struct member 'remesh_voxel_size'.

        Field Documentation

        Blender Python API

        Size of the voxel in object space used for volume evaluation. Lower values preserve finer details

        Blender Source Code

        Per-mesh settings for voxel remesh.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__remesh_voxel_size
      • setRemesh_voxel_size

        public void setRemesh_voxel_size​(float remesh_voxel_size)
                                  throws java.io.IOException
        Set method for struct member 'remesh_voxel_size'.

        Field Documentation

        Blender Python API

        Size of the voxel in object space used for volume evaluation. Lower values preserve finer details

        Blender Source Code

        Per-mesh settings for voxel remesh.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__remesh_voxel_size
      • getRemesh_voxel_adaptivity

        public float getRemesh_voxel_adaptivity()
                                         throws java.io.IOException
        Get method for struct member 'remesh_voxel_adaptivity'.

        Field Documentation

        Blender Python API

        Reduces the final face count by simplifying geometry where detail is not needed, generating triangles. A value greater than 0 disables Fix Poles
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__remesh_voxel_adaptivity
      • setRemesh_voxel_adaptivity

        public void setRemesh_voxel_adaptivity​(float remesh_voxel_adaptivity)
                                        throws java.io.IOException
        Set method for struct member 'remesh_voxel_adaptivity'.

        Field Documentation

        Blender Python API

        Reduces the final face count by simplifying geometry where detail is not needed, generating triangles. A value greater than 0 disables Fix Poles
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__remesh_voxel_adaptivity
      • getFace_sets_color_seed

        public int getFace_sets_color_seed()
                                    throws java.io.IOException
        Get method for struct member 'face_sets_color_seed'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__face_sets_color_seed
      • setFace_sets_color_seed

        public void setFace_sets_color_seed​(int face_sets_color_seed)
                                     throws java.io.IOException
        Set method for struct member 'face_sets_color_seed'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__face_sets_color_seed
      • getFace_sets_color_default

        public int getFace_sets_color_default()
                                       throws java.io.IOException
        Get method for struct member 'face_sets_color_default'.

        Field Documentation

        Blender Source Code

        Stores the initial Face Set to be rendered white. This way the overlay can be enabled by default and Face Sets can be used without affecting the color of the mesh.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__face_sets_color_default
      • setFace_sets_color_default

        public void setFace_sets_color_default​(int face_sets_color_default)
                                        throws java.io.IOException
        Set method for struct member 'face_sets_color_default'.

        Field Documentation

        Blender Source Code

        Stores the initial Face Set to be rendered white. This way the overlay can be enabled by default and Face Sets can be used without affecting the color of the mesh.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__face_sets_color_default
      • get_pad1

        public CArrayFacade<java.lang.Byte> get_pad1()
                                              throws java.io.IOException
        Get method for struct member '_pad1'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD___pad1
      • set_pad1

        public void set_pad1​(CArrayFacade<java.lang.Byte> _pad1)
                      throws java.io.IOException
        Set method for struct member '_pad1'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD___pad1
      • get_pad2

        public CPointer<java.lang.Object> get_pad2()
                                            throws java.io.IOException
        Get method for struct member '_pad2'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD___pad2
      • set_pad2

        public void set_pad2​(CPointer<java.lang.Object> _pad2)
                      throws java.io.IOException
        Set method for struct member '_pad2'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD___pad2
      • getRuntime

        public Mesh_Runtime getRuntime()
                                throws java.io.IOException
        Get method for struct member 'runtime'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__runtime
      • setRuntime

        public void setRuntime​(Mesh_Runtime runtime)
                        throws java.io.IOException
        Set method for struct member 'runtime'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__runtime
      • __io__addressof

        public CPointer<Mesh> __io__addressof()
        Instantiates a pointer on this instance.