Package org.blender.dna
Class MSelect
- java.lang.Object
-
- org.cakelab.blender.nio.CFacade
-
- org.blender.dna.MSelect
-
public class MSelect extends CFacade
Generated facet for DNA struct type 'MSelect'.Class Documentation
Blender Source Code
Optionally store the order of selected elements. This wont always be set since only some selection operations have an order.
Typically accessed from #Mesh.mselect
-
-
Field Summary
Fields Modifier and Type Field Description static long[]
__DNA__FIELD__index
Field descriptor (offset) for struct member 'index'.static long[]
__DNA__FIELD__type
Field descriptor (offset) for struct member 'type'.static int
__DNA__SDNA_INDEX
This is the sdna index of the struct MSelect.-
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 MSelect(long __address, Block __block, BlockTable __blockTable)
protected
MSelect(MSelect that)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CPointer<MSelect>
__io__addressof()
Instantiates a pointer on this instance.int
getIndex()
Get method for struct member 'index'.int
getType()
Get method for struct member 'type'.void
setIndex(int index)
Set method for struct member 'index'.void
setType(int type)
Set method for struct member 'type'.-
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 MSelect.It is required when allocating a new block to store data for MSelect.
- See Also:
StructDNA
,BlockTable
, Constant Field Values
-
__DNA__FIELD__index
public static final long[] __DNA__FIELD__index
Field descriptor (offset) for struct member 'index'.Field Documentation
Blender Source Code
Index in the vertex, edge or polygon array.
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
MSelect mselect = ...; CPointer<Object> p = mselect.__dna__addressof(MSelect.__DNA__FIELD__index); CPointer<Integer> p_index = p.cast(new Class[]{Integer.class});
Metadata
- Field: 'index'
- Signature: 'int'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD__type
public static final long[] __DNA__FIELD__type
Field descriptor (offset) for struct member 'type'.Field Documentation
Blender Source Code
#ME_VSEL, #ME_ESEL, #ME_FSEL.
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
MSelect mselect = ...; CPointer<Object> p = mselect.__dna__addressof(MSelect.__DNA__FIELD__type); CPointer<Integer> p_type = p.cast(new Class[]{Integer.class});
Metadata
- Field: 'type'
- Signature: 'int'
- Actual Size (32bit/64bit): 4/4
-
-
Constructor Detail
-
MSelect
public MSelect(long __address, Block __block, BlockTable __blockTable)
-
MSelect
protected MSelect(MSelect that)
-
-
Method Detail
-
getIndex
public int getIndex() throws java.io.IOException
Get method for struct member 'index'.Field Documentation
Blender Source Code
Index in the vertex, edge or polygon array.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__index
-
setIndex
public void setIndex(int index) throws java.io.IOException
Set method for struct member 'index'.Field Documentation
Blender Source Code
Index in the vertex, edge or polygon array.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__index
-
getType
public int getType() throws java.io.IOException
Get method for struct member 'type'.Field Documentation
Blender Source Code
#ME_VSEL, #ME_ESEL, #ME_FSEL.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__type
-
setType
public void setType(int type) throws java.io.IOException
Set method for struct member 'type'.Field Documentation
Blender Source Code
#ME_VSEL, #ME_ESEL, #ME_FSEL.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__type
-
-