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): 128/160
      • __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'.

        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__mselect

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

        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__mpoly

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

        Field Documentation

        Blender Source Code

        BMESH ONLY new face structures

        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()]

        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__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()]

        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'.

        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__mface

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

        Field Documentation

        Blender Source Code

        END BMESH ONLY Legacy face storage (quads & tries only), faces are now stored in getMpoly() & #Mesh.mloop arrays.

        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__mtface

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

        Field Documentation

        Blender Source Code

        Store tessellation face UV's and texture here.

        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__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 verts.

        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.

        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__dvert

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

        Field Documentation

        Blender Source Code

        Deformgroup 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__mcol

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

        Field Documentation

        Blender Source Code

        array of colors for the tessellated faces, must be number of tessellated faces * 4 in length

        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__texcomesh

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

        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__edit_mesh

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

        Field Documentation

        Blender Source Code

        When the object is available, the preferred access method is: BKE_editmesh_from_object(ob) Not saved in file!.

        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__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): 212/224
      • __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): 212/224
      • __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.

        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): 212/224
      • __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): 212/224
      • __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.

        Blender Source Code

        BMESH ONLY

        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): 212/224
      • __DNA__FIELD__totvert

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

        Field Documentation

        Blender Source Code

        END BMESH ONLY

        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'.

        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__totface

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

        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__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()).

        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__totpoly

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

        Field Documentation

        Blender Source Code

        BMESH ONLY

        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'.

        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__act_face

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

        Field Documentation

        Blender Source Code

        END BMESH ONLY the last selected vertex/edge/face are used for the active face however this means the active face must always be selected, this is to keep track of the last selected face and is similar to the old active face flag where the face does not need to be selected, -1 is inactive

        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__loc

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

        Field Documentation

        Blender Source Code

        texture space, copied as one block in editobject.c

        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<Short> p_texflag = p.cast(new Class[]{Short.class});
         

        Metadata

        • Field: 'texflag'
        • Signature: 'short'
        • Actual Size (32bit/64bit): 2/2
      • __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,
                                        

        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: 'short'
        • Actual Size (32bit/64bit): 2/2
      • __DNA__FIELD__smoothresh

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

        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

        customdata flag, for bevel-weight and crease, which are now optional

        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___pad

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

        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___pad);
         CPointer<Byte> p__pad = p.cast(new Class[]{Byte.class});
         

        Metadata

        • Field: '_pad'
        • 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

        Only kept for backwards compat, not used anymore.

      • __DNA__FIELD__editflag

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

        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__totcol

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

        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_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

        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__remesh_mode

        public static final long[] __DNA__FIELD__remesh_mode
        Field descriptor (offset) for struct member 'remesh_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__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___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[3]'
        • Actual Size (32bit/64bit): 3/3
      • __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__mr

        public static final long[] __DNA__FIELD__mr
        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__mr);
         CPointer<CPointer<Multires>> p_mr = p.cast(new Class[]{CPointer.class, Multires.class});
         

        Metadata

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

        Field Documentation

        Blender Source Code

        Deprecated multiresolution modeling data, only keep for loading old files.

      • __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): 96/136
    • 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
      • setMselect

        public void setMselect​(CPointer<MSelect> mselect)
                        throws java.io.IOException
        Set method for struct member 'mselect'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__mselect
      • getMpoly

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

        Field Documentation

        Blender Source Code

        BMESH ONLY new face structures

        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

        BMESH ONLY new face structures

        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()]

        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()]

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__mloop
      • 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()]

        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()]

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

        public void setMloopcol​(CPointer<MLoopCol> mloopcol)
                         throws java.io.IOException
        Set method for struct member 'mloopcol'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__mloopcol
      • getMface

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

        Field Documentation

        Blender Source Code

        END BMESH ONLY Legacy face storage (quads & tries only), faces are now stored in getMpoly() & #Mesh.mloop arrays.

        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

        END BMESH ONLY Legacy face storage (quads & tries only), faces are now stored in getMpoly() & #Mesh.mloop arrays.

        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
      • getMtface

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

        Field Documentation

        Blender Source Code

        Store tessellation face UV's and texture here.

        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

        Store tessellation face UV's and texture here.

        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
      • 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 verts.

        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 verts.

        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.

        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.

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

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

        Field Documentation

        Blender Source Code

        Deformgroup 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

        Deformgroup vertices.

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

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

        Field Documentation

        Blender Source Code

        array of colors for the tessellated faces, must be number of tessellated faces * 4 in length

        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

        array of colors for the tessellated faces, must be number of tessellated faces * 4 in length

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

        public CPointer<Mesh> getTexcomesh()
                                    throws java.io.IOException
        Get method for struct member 'texcomesh'.
        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'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__texcomesh
      • 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

        When the object is available, the preferred access method is: BKE_editmesh_from_object(ob) Not saved in file!.

        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

        When the object is available, the preferred access method is: BKE_editmesh_from_object(ob) Not saved in file!.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__edit_mesh
      • 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
      • getFdata

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

        Field Documentation

        Java .Blend

        Custom data layers containing MFace.
        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.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__fdata
      • 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.

        Blender Source Code

        BMESH ONLY

        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.

        Blender Source Code

        BMESH ONLY

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

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

        Field Documentation

        Blender Source Code

        END BMESH ONLY

        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

        END BMESH ONLY

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

        public int getTotedge()
                       throws java.io.IOException
        Get method for struct member 'totedge'.
        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'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__totedge
      • getTotface

        public int getTotface()
                       throws java.io.IOException
        Get method for struct member 'totface'.
        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'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__totface
      • 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()).
        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()).
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__totselect
      • getTotpoly

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

        Field Documentation

        Blender Source Code

        BMESH ONLY

        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

        BMESH ONLY

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

        public int getTotloop()
                       throws java.io.IOException
        Get method for struct member 'totloop'.
        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'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__totloop
      • getAct_face

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

        Field Documentation

        Blender Source Code

        END BMESH ONLY the last selected vertex/edge/face are used for the active face however this means the active face must always be selected, this is to keep track of the last selected face and is similar to the old active face flag where the face does not need to be selected, -1 is inactive

        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

        END BMESH ONLY the last selected vertex/edge/face are used for the active face however this means the active face must always be selected, this is to keep track of the last selected face and is similar to the old active face flag where the face does not need to be selected, -1 is inactive

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

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

        Field Documentation

        Blender Source Code

        texture space, copied as one block in editobject.c

        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, copied as one block in editobject.c

        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 short 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​(short 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
      • 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,
                                        
        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,
                                        
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__flag
      • getSmoothresh

        public float getSmoothresh()
                            throws java.io.IOException
        Get method for struct member 'smoothresh'.
        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'.
        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

        customdata flag, for bevel-weight and crease, which are now optional

        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

        customdata flag, for bevel-weight and crease, which are now optional

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

        public byte get_pad()
                     throws java.io.IOException
        Get method for struct member '_pad'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD___pad
      • set_pad

        public void set_pad​(byte _pad)
                     throws java.io.IOException
        Set method for struct member '_pad'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD___pad
      • 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

        Only kept for backwards compat, not used anymore.

        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

        Only kept for backwards compat, not used anymore.

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

        public byte getEditflag()
                         throws java.io.IOException
        Get method for struct member 'editflag'.
        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'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__editflag
      • getTotcol

        public short getTotcol()
                        throws java.io.IOException
        Get method for struct member 'totcol'.
        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'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__totcol
      • 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
        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
        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
      • getRemesh_mode

        public byte getRemesh_mode()
                            throws java.io.IOException
        Get method for struct member 'remesh_mode'.
        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'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__remesh_mode
      • 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
      • 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
      • getMr

        public CPointer<Multires> getMr()
                                 throws java.io.IOException
        Deprecated.
        Deprecated

        Get method for struct member 'mr'.

        Field Documentation

        Blender Source Code

        Deprecated multiresolution modeling data, only keep for loading old files.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__mr
      • setMr

        public void setMr​(CPointer<Multires> mr)
                   throws java.io.IOException
        Deprecated.
        Deprecated

        Set method for struct member 'mr'.

        Field Documentation

        Blender Source Code

        Deprecated multiresolution modeling data, only keep for loading old files.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__mr
      • 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.