Class MDeformVert
- java.lang.Object
-
- org.cakelab.blender.nio.CFacade
-
- org.blender.dna.MDeformVert
-
public class MDeformVert extends CFacade
Generated facet for DNA struct type 'MDeformVert'.Class Documentation
Blender Source Code
Stores all of an element's vertex groups, and their weight values.
-
-
Field Summary
Fields Modifier and Type Field Description static long[]
__DNA__FIELD__dw
Field descriptor (offset) for struct member 'dw'.static long[]
__DNA__FIELD__flag
Field descriptor (offset) for struct member 'flag'.static long[]
__DNA__FIELD__totweight
Field descriptor (offset) for struct member 'totweight'.static int
__DNA__SDNA_INDEX
This is the sdna index of the struct MDeformVert.-
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 MDeformVert(long __address, Block __block, BlockTable __blockTable)
protected
MDeformVert(MDeformVert that)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CPointer<MDeformVert>
__io__addressof()
Instantiates a pointer on this instance.CPointer<MDeformWeight>
getDw()
Get method for struct member 'dw'.int
getFlag()
Get method for struct member 'flag'.int
getTotweight()
Get method for struct member 'totweight'.void
setDw(CPointer<MDeformWeight> dw)
Set method for struct member 'dw'.void
setFlag(int flag)
Set method for struct member 'flag'.void
setTotweight(int totweight)
Set method for struct member 'totweight'.-
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 MDeformVert.It is required when allocating a new block to store data for MDeformVert.
- See Also:
StructDNA
,BlockTable
, Constant Field Values
-
__DNA__FIELD__dw
public static final long[] __DNA__FIELD__dw
Field descriptor (offset) for struct member 'dw'.Field Documentation
Blender Source Code
Array of weight indices and values.
There must not be any duplicate #def_nr indices.
Groups in the array are unordered.
Indices outside the usable range of groups are ignored.
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
MDeformVert mdeformvert = ...; CPointer<Object> p = mdeformvert.__dna__addressof(MDeformVert.__DNA__FIELD__dw); CPointer<CPointer<MDeformWeight>> p_dw = p.cast(new Class[]{CPointer.class, MDeformWeight.class});
Metadata
- Field: 'dw'
- Signature: 'MDeformWeight*'
- Actual Size (32bit/64bit): 4/8
-
__DNA__FIELD__totweight
public static final long[] __DNA__FIELD__totweight
Field descriptor (offset) for struct member 'totweight'.Field Documentation
Blender Source Code
The length of the
getDw()
array.Note
This is not necessarily the same length as the total number of vertex groups. However, generally it isn't larger.
This is not necessarily the same length as the total number of vertex groups. However, generally it isn't larger.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
MDeformVert mdeformvert = ...; CPointer<Object> p = mdeformvert.__dna__addressof(MDeformVert.__DNA__FIELD__totweight); CPointer<Integer> p_totweight = p.cast(new Class[]{Integer.class});
Metadata
- Field: 'totweight'
- Signature: 'int'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD__flag
public static final long[] __DNA__FIELD__flag
Field descriptor (offset) for struct member 'flag'.Field Documentation
Blender Source Code
Flag is only in use as a run-time tag at the moment.
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
MDeformVert mdeformvert = ...; CPointer<Object> p = mdeformvert.__dna__addressof(MDeformVert.__DNA__FIELD__flag); CPointer<Integer> p_flag = p.cast(new Class[]{Integer.class});
Metadata
- Field: 'flag'
- Signature: 'int'
- Actual Size (32bit/64bit): 4/4
-
-
Constructor Detail
-
MDeformVert
public MDeformVert(long __address, Block __block, BlockTable __blockTable)
-
MDeformVert
protected MDeformVert(MDeformVert that)
-
-
Method Detail
-
getDw
public CPointer<MDeformWeight> getDw() throws java.io.IOException
Get method for struct member 'dw'.Field Documentation
Blender Source Code
Array of weight indices and values.
There must not be any duplicate #def_nr indices.
Groups in the array are unordered.
Indices outside the usable range of groups are ignored.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__dw
-
setDw
public void setDw(CPointer<MDeformWeight> dw) throws java.io.IOException
Set method for struct member 'dw'.Field Documentation
Blender Source Code
Array of weight indices and values.
There must not be any duplicate #def_nr indices.
Groups in the array are unordered.
Indices outside the usable range of groups are ignored.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__dw
-
getTotweight
public int getTotweight() throws java.io.IOException
Get method for struct member 'totweight'.Field Documentation
Blender Source Code
The length of the
getDw()
array.Note
This is not necessarily the same length as the total number of vertex groups. However, generally it isn't larger.
This is not necessarily the same length as the total number of vertex groups. However, generally it isn't larger.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__totweight
-
setTotweight
public void setTotweight(int totweight) throws java.io.IOException
Set method for struct member 'totweight'.Field Documentation
Blender Source Code
The length of the
getDw()
array.Note
This is not necessarily the same length as the total number of vertex groups. However, generally it isn't larger.
This is not necessarily the same length as the total number of vertex groups. However, generally it isn't larger.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__totweight
-
getFlag
public int getFlag() throws java.io.IOException
Get method for struct member 'flag'.Field Documentation
Blender Source Code
Flag is only in use as a run-time tag at the moment.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__flag
-
setFlag
public void setFlag(int flag) throws java.io.IOException
Set method for struct member 'flag'.Field Documentation
Blender Source Code
Flag is only in use as a run-time tag at the moment.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__flag
-
__io__addressof
public CPointer<MDeformVert> __io__addressof()
Instantiates a pointer on this instance.
-
-