Class Mesh
- java.lang.Object
-
- org.cakelab.blender.nio.CFacade
-
- org.blender.dna.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 Summary
Fields Modifier and Type Field Description static long[]
__DNA__FIELD___pad1
Field descriptor (offset) for struct member '_pad1'.static long[]
__DNA__FIELD__act_face
Field descriptor (offset) for struct member 'act_face'.static long[]
__DNA__FIELD__adt
Field descriptor (offset) for struct member 'adt'.static long[]
__DNA__FIELD__attributes_active_index
Field descriptor (offset) for struct member 'attributes_active_index'.static long[]
__DNA__FIELD__cd_flag
Deprecated.Deprecatedstatic long[]
__DNA__FIELD__dvert
Deprecated.Deprecatedstatic long[]
__DNA__FIELD__edata
Field descriptor (offset) for struct member 'edata'.static long[]
__DNA__FIELD__edit_mesh
Field descriptor (offset) for struct member 'edit_mesh'.static long[]
__DNA__FIELD__editflag
Field descriptor (offset) for struct member 'editflag'.static long[]
__DNA__FIELD__face_sets_color_default
Field descriptor (offset) for struct member 'face_sets_color_default'.static long[]
__DNA__FIELD__face_sets_color_seed
Field descriptor (offset) for struct member 'face_sets_color_seed'.static long[]
__DNA__FIELD__fdata
Field descriptor (offset) for struct member 'fdata'.static long[]
__DNA__FIELD__flag
Field descriptor (offset) for struct member 'flag'.static long[]
__DNA__FIELD__id
Field descriptor (offset) for struct member 'id'.static long[]
__DNA__FIELD__ipo
Deprecated.Deprecatedstatic long[]
__DNA__FIELD__key
Field descriptor (offset) for struct member 'key'.static long[]
__DNA__FIELD__ldata
Field descriptor (offset) for struct member 'ldata'.static long[]
__DNA__FIELD__loc
Field descriptor (offset) for struct member 'loc'.static long[]
__DNA__FIELD__mat
Field descriptor (offset) for struct member 'mat'.static long[]
__DNA__FIELD__mcol
Deprecated.Deprecatedstatic long[]
__DNA__FIELD__medge
Deprecated.Deprecatedstatic long[]
__DNA__FIELD__mface
Deprecated.Deprecatedstatic long[]
__DNA__FIELD__mloop
Deprecated.Deprecatedstatic long[]
__DNA__FIELD__mpoly
Deprecated.Deprecatedstatic long[]
__DNA__FIELD__mselect
Field descriptor (offset) for struct member 'mselect'.static long[]
__DNA__FIELD__mtface
Deprecated.Deprecatedstatic long[]
__DNA__FIELD__mvert
Deprecated.Deprecatedstatic long[]
__DNA__FIELD__pdata
Field descriptor (offset) for struct member 'pdata'.static long[]
__DNA__FIELD__remesh_mode
Field descriptor (offset) for struct member 'remesh_mode'.static long[]
__DNA__FIELD__remesh_voxel_adaptivity
Field descriptor (offset) for struct member 'remesh_voxel_adaptivity'.static long[]
__DNA__FIELD__remesh_voxel_size
Field descriptor (offset) for struct member 'remesh_voxel_size'.static long[]
__DNA__FIELD__runtime
Field descriptor (offset) for struct member 'runtime'.static long[]
__DNA__FIELD__size
Field descriptor (offset) for struct member 'size'.static long[]
__DNA__FIELD__smoothresh
Field descriptor (offset) for struct member 'smoothresh'.static long[]
__DNA__FIELD__subdiv
Deprecated.Deprecatedstatic long[]
__DNA__FIELD__subdivr
Deprecated.Deprecatedstatic long[]
__DNA__FIELD__subsurftype
Deprecated.Deprecatedstatic long[]
__DNA__FIELD__symmetry
Field descriptor (offset) for struct member 'symmetry'.static long[]
__DNA__FIELD__texcomesh
Field descriptor (offset) for struct member 'texcomesh'.static long[]
__DNA__FIELD__texflag
Field descriptor (offset) for struct member 'texflag'.static long[]
__DNA__FIELD__tface
Deprecated.Deprecatedstatic long[]
__DNA__FIELD__totcol
Field descriptor (offset) for struct member 'totcol'.static long[]
__DNA__FIELD__totedge
Field descriptor (offset) for struct member 'totedge'.static long[]
__DNA__FIELD__totface
Field descriptor (offset) for struct member 'totface'.static long[]
__DNA__FIELD__totloop
Field descriptor (offset) for struct member 'totloop'.static long[]
__DNA__FIELD__totpoly
Field descriptor (offset) for struct member 'totpoly'.static long[]
__DNA__FIELD__totselect
Field descriptor (offset) for struct member 'totselect'.static long[]
__DNA__FIELD__totvert
Field descriptor (offset) for struct member 'totvert'.static long[]
__DNA__FIELD__vdata
Field descriptor (offset) for struct member 'vdata'.static long[]
__DNA__FIELD__vertex_group_active_index
Field descriptor (offset) for struct member 'vertex_group_active_index'.static long[]
__DNA__FIELD__vertex_group_names
Field descriptor (offset) for struct member 'vertex_group_names'.static int
__DNA__SDNA_INDEX
This is the sdna index of the struct Mesh.-
Fields inherited from class org.cakelab.blender.nio.CFacade
__io__address, __io__arch_index, __io__block, __io__blockTable, __io__pointersize
-
-
Constructor Summary
Constructors Modifier Constructor Description Mesh(long __address, Block __block, BlockTable __blockTable)
protected
Mesh(Mesh that)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description CPointer<Mesh>
__io__addressof()
Instantiates a pointer on this instance.CArrayFacade<java.lang.Byte>
get_pad1()
Get method for struct member '_pad1'.int
getAct_face()
Get method for struct member 'act_face'.CPointer<AnimData>
getAdt()
Get method for struct member 'adt'.int
getAttributes_active_index()
Get method for struct member 'attributes_active_index'.byte
getCd_flag()
Deprecated.DeprecatedCPointer<MDeformVert>
getDvert()
Deprecated.DeprecatedCustomData
getEdata()
Get method for struct member 'edata'.CPointer<java.lang.Object>
getEdit_mesh()
Get method for struct member 'edit_mesh'.byte
getEditflag()
Get method for struct member 'editflag'.int
getFace_sets_color_default()
Get method for struct member 'face_sets_color_default'.int
getFace_sets_color_seed()
Get method for struct member 'face_sets_color_seed'.CustomData
getFdata()
Get method for struct member 'fdata'.short
getFlag()
Get method for struct member 'flag'.ID
getId()
Get method for struct member 'id'.CPointer<Ipo>
getIpo()
Deprecated.DeprecatedCPointer<Key>
getKey()
Get method for struct member 'key'.CustomData
getLdata()
Get method for struct member 'ldata'.CArrayFacade<java.lang.Float>
getLoc()
Get method for struct member 'loc'.CPointer<CPointer<Material>>
getMat()
Get method for struct member 'mat'.CPointer<MCol>
getMcol()
Deprecated.DeprecatedCPointer<MEdge>
getMedge()
Deprecated.DeprecatedCPointer<MFace>
getMface()
Deprecated.DeprecatedCPointer<MLoop>
getMloop()
Deprecated.DeprecatedCPointer<MPoly>
getMpoly()
Deprecated.DeprecatedCPointer<MSelect>
getMselect()
Get method for struct member 'mselect'.CPointer<MTFace>
getMtface()
Deprecated.DeprecatedCPointer<MVert>
getMvert()
Deprecated.DeprecatedCustomData
getPdata()
Get method for struct member 'pdata'.byte
getRemesh_mode()
Get method for struct member 'remesh_mode'.float
getRemesh_voxel_adaptivity()
Get method for struct member 'remesh_voxel_adaptivity'.float
getRemesh_voxel_size()
Get method for struct member 'remesh_voxel_size'.CPointer<java.lang.Object>
getRuntime()
Get method for struct member 'runtime'.CArrayFacade<java.lang.Float>
getSize()
Get method for struct member 'size'.float
getSmoothresh()
Get method for struct member 'smoothresh'.byte
getSubdiv()
Deprecated.Deprecatedbyte
getSubdivr()
Deprecated.Deprecatedbyte
getSubsurftype()
Deprecated.Deprecatedbyte
getSymmetry()
Get method for struct member 'symmetry'.CPointer<Mesh>
getTexcomesh()
Get method for struct member 'texcomesh'.byte
getTexflag()
Get method for struct member 'texflag'.CPointer<TFace>
getTface()
Deprecated.Deprecatedshort
getTotcol()
Get method for struct member 'totcol'.int
getTotedge()
Get method for struct member 'totedge'.int
getTotface()
Get method for struct member 'totface'.int
getTotloop()
Get method for struct member 'totloop'.int
getTotpoly()
Get method for struct member 'totpoly'.int
getTotselect()
Get method for struct member 'totselect'.int
getTotvert()
Get method for struct member 'totvert'.CustomData
getVdata()
Get method for struct member 'vdata'.int
getVertex_group_active_index()
Get method for struct member 'vertex_group_active_index'.ListBase
getVertex_group_names()
Get method for struct member 'vertex_group_names'.void
set_pad1(CArrayFacade<java.lang.Byte> _pad1)
Set method for struct member '_pad1'.void
setAct_face(int act_face)
Set method for struct member 'act_face'.void
setAdt(CPointer<AnimData> adt)
Set method for struct member 'adt'.void
setAttributes_active_index(int attributes_active_index)
Set method for struct member 'attributes_active_index'.void
setCd_flag(byte cd_flag)
Deprecated.Deprecatedvoid
setDvert(CPointer<MDeformVert> dvert)
Deprecated.Deprecatedvoid
setEdata(CustomData edata)
Set method for struct member 'edata'.void
setEdit_mesh(CPointer<java.lang.Object> edit_mesh)
Set method for struct member 'edit_mesh'.void
setEditflag(byte editflag)
Set method for struct member 'editflag'.void
setFace_sets_color_default(int face_sets_color_default)
Set method for struct member 'face_sets_color_default'.void
setFace_sets_color_seed(int face_sets_color_seed)
Set method for struct member 'face_sets_color_seed'.void
setFdata(CustomData fdata)
Set method for struct member 'fdata'.void
setFlag(short flag)
Set method for struct member 'flag'.void
setId(ID id)
Set method for struct member 'id'.void
setIpo(CPointer<Ipo> ipo)
Deprecated.Deprecatedvoid
setKey(CPointer<Key> key)
Set method for struct member 'key'.void
setLdata(CustomData ldata)
Set method for struct member 'ldata'.void
setLoc(CArrayFacade<java.lang.Float> loc)
Set method for struct member 'loc'.void
setMat(CPointer<CPointer<Material>> mat)
Set method for struct member 'mat'.void
setMcol(CPointer<MCol> mcol)
Deprecated.Deprecatedvoid
setMedge(CPointer<MEdge> medge)
Deprecated.Deprecatedvoid
setMface(CPointer<MFace> mface)
Deprecated.Deprecatedvoid
setMloop(CPointer<MLoop> mloop)
Deprecated.Deprecatedvoid
setMpoly(CPointer<MPoly> mpoly)
Deprecated.Deprecatedvoid
setMselect(CPointer<MSelect> mselect)
Set method for struct member 'mselect'.void
setMtface(CPointer<MTFace> mtface)
Deprecated.Deprecatedvoid
setMvert(CPointer<MVert> mvert)
Deprecated.Deprecatedvoid
setPdata(CustomData pdata)
Set method for struct member 'pdata'.void
setRemesh_mode(byte remesh_mode)
Set method for struct member 'remesh_mode'.void
setRemesh_voxel_adaptivity(float remesh_voxel_adaptivity)
Set method for struct member 'remesh_voxel_adaptivity'.void
setRemesh_voxel_size(float remesh_voxel_size)
Set method for struct member 'remesh_voxel_size'.void
setRuntime(CPointer<java.lang.Object> runtime)
Set method for struct member 'runtime'.void
setSize(CArrayFacade<java.lang.Float> size)
Set method for struct member 'size'.void
setSmoothresh(float smoothresh)
Set method for struct member 'smoothresh'.void
setSubdiv(byte subdiv)
Deprecated.Deprecatedvoid
setSubdivr(byte subdivr)
Deprecated.Deprecatedvoid
setSubsurftype(byte subsurftype)
Deprecated.Deprecatedvoid
setSymmetry(byte symmetry)
Set method for struct member 'symmetry'.void
setTexcomesh(CPointer<Mesh> texcomesh)
Set method for struct member 'texcomesh'.void
setTexflag(byte texflag)
Set method for struct member 'texflag'.void
setTface(CPointer<TFace> tface)
Deprecated.Deprecatedvoid
setTotcol(short totcol)
Set method for struct member 'totcol'.void
setTotedge(int totedge)
Set method for struct member 'totedge'.void
setTotface(int totface)
Set method for struct member 'totface'.void
setTotloop(int totloop)
Set method for struct member 'totloop'.void
setTotpoly(int totpoly)
Set method for struct member 'totpoly'.void
setTotselect(int totselect)
Set method for struct member 'totselect'.void
setTotvert(int totvert)
Set method for struct member 'totvert'.void
setVdata(CustomData vdata)
Set method for struct member 'vdata'.void
setVertex_group_active_index(int vertex_group_active_index)
Set method for struct member 'vertex_group_active_index'.void
setVertex_group_names(ListBase vertex_group_names)
Set method for struct member 'vertex_group_names'.-
Methods inherited from class org.cakelab.blender.nio.CFacade
__io__addressof, __io__addressof, __io__equals, __io__generic__copy, __io__generic__copy, __io__instanceof, __io__native__copy, __io__newInstance, __io__same__encoding, __io__sizeof, __io__sizeof, __io__subclassof, equals, hashCode
-
-
-
-
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.DeprecatedPointer 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 onObject
. Indices in the "material_index" attribute 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__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 containingMTexPoly
s andMPoly
s.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 containingMLoopUV
s andMLoop
s.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__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__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 (seegetMselect()
).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__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__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__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__cd_flag
public static final long[] __DNA__FIELD__cd_flag
Deprecated.DeprecatedPointer 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
Field descriptor (offset) for struct member 'cd_flag'.Field Documentation
Blender Source Code
Deprecated flag for choosing whether to store specific custom data that was built into
Mesh
structs in edit mode. Replaced by separating that data to separate layers. Kept for forward and backwards compatibility.
-
__DNA__FIELD__subdiv
public static final long[] __DNA__FIELD__subdiv
Deprecated.DeprecatedPointer 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.DeprecatedPointer 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.DeprecatedPointer 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__mpoly
public static final long[] __DNA__FIELD__mpoly
Deprecated.DeprecatedPointer 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
Field descriptor (offset) for struct member 'mpoly'.Field Documentation
Blender Source Code
Deprecated pointer to mesh polygons, kept for forward compatibility.
-
__DNA__FIELD__mloop
public static final long[] __DNA__FIELD__mloop
Deprecated.DeprecatedPointer 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
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
Deprecated pointer to face corners, kept for forward compatibility.
-
__DNA__FIELD__mvert
public static final long[] __DNA__FIELD__mvert
Deprecated.DeprecatedPointer 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
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
Deprecated array of mesh vertices, kept for reading old files, now stored in
CustomData
.
-
__DNA__FIELD__medge
public static final long[] __DNA__FIELD__medge
Deprecated.DeprecatedPointer 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
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
Deprecated array of mesh edges, kept for reading old files, now stored in
CustomData
.
-
__DNA__FIELD__dvert
public static final long[] __DNA__FIELD__dvert
Deprecated.DeprecatedPointer 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
Field descriptor (offset) for struct member 'dvert'.Field Documentation
Blender Source Code
Deprecated "Vertex group" data. Kept for reading old files, now stored in
CustomData
.
-
__DNA__FIELD__mtface
public static final long[] __DNA__FIELD__mtface
Deprecated.DeprecatedPointer 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
Field descriptor (offset) for struct member 'mtface'.Field Documentation
Blender Source Code
Deprecated runtime data for tessellation face UVs and texture, kept for reading old files.
-
__DNA__FIELD__tface
public static final long[] __DNA__FIELD__tface
Deprecated.DeprecatedPointer 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
Deprecated.DeprecatedPointer 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
Field descriptor (offset) for struct member 'mcol'.Field Documentation
Blender Source Code
Deprecated array of colors for the tessellated faces, kept for reading old files.
-
__DNA__FIELD__mface
public static final long[] __DNA__FIELD__mface
Deprecated.DeprecatedPointer 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
Field descriptor (offset) for struct member 'mface'.Field Documentation
Blender Source Code
Deprecated face storage (quads & triangles only). Kept for reading old files.
-
__DNA__FIELD__fdata
public static final long[] __DNA__FIELD__fdata
Field descriptor (offset) for struct member 'fdata'.Field Documentation
Java .Blend
Custom data layers containingMFace
.Blender Source Code
Deprecated storage of old faces (only triangles or quads).
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__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 detailsBlender 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 PolesPointer 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__runtime
public static final long[] __DNA__FIELD__runtime
Field descriptor (offset) for struct member 'runtime'.Field Documentation
Blender Source Code
Data that isn't saved in files, including caches of derived data, temporary data to improve the editing experience, etc. Runtime data is created when reading files and can be accessed without null checks, with the exception of some temporary meshes which should allocate and free the data if they are passed to functions that expect run-time 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__runtime); CPointer<CPointer<Object>> p_runtime = p.cast(new Class[]{CPointer.class, Object.class});
Metadata
- Field: 'runtime'
- Signature: 'MeshRuntimeHandle*'
- Actual Size (32bit/64bit): 4/8
-
-
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.DeprecatedGet 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.DeprecatedSet 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 onObject
. Indices in the "material_index" attribute 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 onObject
. Indices in the "material_index" attribute control which material is used for every face.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__mat
-
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 containingMTexPoly
s andMPoly
s.- 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 containingMTexPoly
s andMPoly
s.- 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 containingMLoopUV
s andMLoop
s.- 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 containingMLoopUV
s andMLoop
s.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__ldata
-
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
-
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 (seegetMselect()
).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 (seegetMselect()
).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
-
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
-
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
-
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
-
getCd_flag
public byte getCd_flag() throws java.io.IOException
Deprecated.DeprecatedGet method for struct member 'cd_flag'.Field Documentation
Blender Source Code
Deprecated flag for choosing whether to store specific custom data that was built into
Mesh
structs in edit mode. Replaced by separating that data to separate layers. Kept for forward and backwards compatibility.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__cd_flag
-
setCd_flag
public void setCd_flag(byte cd_flag) throws java.io.IOException
Deprecated.DeprecatedSet method for struct member 'cd_flag'.Field Documentation
Blender Source Code
Deprecated flag for choosing whether to store specific custom data that was built into
Mesh
structs in edit mode. Replaced by separating that data to separate layers. Kept for forward and backwards compatibility.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__cd_flag
-
getSubdiv
public byte getSubdiv() throws java.io.IOException
Deprecated.DeprecatedGet 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.DeprecatedSet 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.DeprecatedGet 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.DeprecatedSet 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.DeprecatedGet 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.DeprecatedSet method for struct member 'subsurftype'.Field Documentation
Blender Source Code
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__subsurftype
-
getMpoly
public CPointer<MPoly> getMpoly() throws java.io.IOException
Deprecated.DeprecatedGet method for struct member 'mpoly'.Field Documentation
Blender Source Code
Deprecated pointer to mesh polygons, kept for forward compatibility.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__mpoly
-
setMpoly
public void setMpoly(CPointer<MPoly> mpoly) throws java.io.IOException
Deprecated.DeprecatedSet method for struct member 'mpoly'.Field Documentation
Blender Source Code
Deprecated pointer to mesh polygons, kept for forward compatibility.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__mpoly
-
getMloop
public CPointer<MLoop> getMloop() throws java.io.IOException
Deprecated.DeprecatedGet 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
Deprecated pointer to face corners, kept for forward compatibility.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__mloop
-
setMloop
public void setMloop(CPointer<MLoop> mloop) throws java.io.IOException
Deprecated.DeprecatedSet 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
Deprecated pointer to face corners, kept for forward compatibility.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__mloop
-
getMvert
public CPointer<MVert> getMvert() throws java.io.IOException
Deprecated.DeprecatedGet 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
Deprecated array of mesh vertices, kept for reading old files, now stored in
CustomData
.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__mvert
-
setMvert
public void setMvert(CPointer<MVert> mvert) throws java.io.IOException
Deprecated.DeprecatedSet 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
Deprecated array of mesh vertices, kept for reading old files, now stored in
CustomData
.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__mvert
-
getMedge
public CPointer<MEdge> getMedge() throws java.io.IOException
Deprecated.DeprecatedGet 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
Deprecated array of mesh edges, kept for reading old files, now stored in
CustomData
.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__medge
-
setMedge
public void setMedge(CPointer<MEdge> medge) throws java.io.IOException
Deprecated.DeprecatedSet 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
Deprecated array of mesh edges, kept for reading old files, now stored in
CustomData
.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__medge
-
getDvert
public CPointer<MDeformVert> getDvert() throws java.io.IOException
Deprecated.DeprecatedGet method for struct member 'dvert'.Field Documentation
Blender Source Code
Deprecated "Vertex group" data. Kept for reading old files, now stored in
CustomData
.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__dvert
-
setDvert
public void setDvert(CPointer<MDeformVert> dvert) throws java.io.IOException
Deprecated.DeprecatedSet method for struct member 'dvert'.Field Documentation
Blender Source Code
Deprecated "Vertex group" data. Kept for reading old files, now stored in
CustomData
.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__dvert
-
getMtface
public CPointer<MTFace> getMtface() throws java.io.IOException
Deprecated.DeprecatedGet method for struct member 'mtface'.Field Documentation
Blender Source Code
Deprecated runtime data for tessellation face UVs and texture, kept for reading old files.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__mtface
-
setMtface
public void setMtface(CPointer<MTFace> mtface) throws java.io.IOException
Deprecated.DeprecatedSet method for struct member 'mtface'.Field Documentation
Blender Source Code
Deprecated runtime data for tessellation face UVs and texture, kept for reading old files.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__mtface
-
getTface
public CPointer<TFace> getTface() throws java.io.IOException
Deprecated.DeprecatedGet 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.DeprecatedSet 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
Deprecated.DeprecatedGet method for struct member 'mcol'.Field Documentation
Blender Source Code
Deprecated array of colors for the tessellated faces, kept for reading old files.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__mcol
-
setMcol
public void setMcol(CPointer<MCol> mcol) throws java.io.IOException
Deprecated.DeprecatedSet method for struct member 'mcol'.Field Documentation
Blender Source Code
Deprecated array of colors for the tessellated faces, kept for reading old files.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__mcol
-
getMface
public CPointer<MFace> getMface() throws java.io.IOException
Deprecated.DeprecatedGet method for struct member 'mface'.Field Documentation
Blender Source Code
Deprecated face storage (quads & triangles only). Kept for reading old files.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__mface
-
setMface
public void setMface(CPointer<MFace> mface) throws java.io.IOException
Deprecated.DeprecatedSet method for struct member 'mface'.Field Documentation
Blender Source Code
Deprecated face storage (quads & triangles only). Kept for reading old files.
- 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 containingMFace
.Blender Source Code
Deprecated storage of old faces (only triangles or quads).
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__fdata
-
setFdata
public void setFdata(CustomData fdata) throws java.io.IOException
Set method for struct member 'fdata'.Field Documentation
Java .Blend
Custom data layers containingMFace
.Blender Source Code
Deprecated storage of old faces (only triangles or quads).
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__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 detailsBlender 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 detailsBlender 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
-
getRuntime
public CPointer<java.lang.Object> getRuntime() throws java.io.IOException
Get method for struct member 'runtime'.Field Documentation
Blender Source Code
Data that isn't saved in files, including caches of derived data, temporary data to improve the editing experience, etc. Runtime data is created when reading files and can be accessed without null checks, with the exception of some temporary meshes which should allocate and free the data if they are passed to functions that expect run-time data.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__runtime
-
setRuntime
public void setRuntime(CPointer<java.lang.Object> runtime) throws java.io.IOException
Set method for struct member 'runtime'.Field Documentation
Blender Source Code
Data that isn't saved in files, including caches of derived data, temporary data to improve the editing experience, etc. Runtime data is created when reading files and can be accessed without null checks, with the exception of some temporary meshes which should allocate and free the data if they are passed to functions that expect run-time data.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__runtime
-
-