public class MPoly extends CFacade
Modifier and Type | Field and Description |
---|---|
static long[] |
__DNA__FIELD__flag
Field descriptor (offset) for struct member 'flag'.
|
static long[] |
__DNA__FIELD__loopstart
Field descriptor (offset) for struct member 'loopstart'.
|
static long[] |
__DNA__FIELD__mat_nr
Field descriptor (offset) for struct member 'mat_nr'.
|
static long[] |
__DNA__FIELD__pad
Field descriptor (offset) for struct member 'pad'.
|
static long[] |
__DNA__FIELD__totloop
Field descriptor (offset) for struct member 'totloop'.
|
static int |
__DNA__SDNA_INDEX
This is the sdna index of the struct MPoly.
|
__io__address, __io__arch_index, __io__block, __io__blockTable, __io__pointersize
Modifier | Constructor and Description |
---|---|
|
MPoly(long __address,
Block __block,
BlockTable __blockTable) |
protected |
MPoly(MPoly that) |
Modifier and Type | Method and Description |
---|---|
CPointer<MPoly> |
__io__addressof()
Instantiates a pointer on this instance.
|
byte |
getFlag()
Get method for struct member 'flag'.
|
int |
getLoopstart()
Get method for struct member 'loopstart'.
|
short |
getMat_nr()
Get method for struct member 'mat_nr'.
|
byte |
getPad()
Get method for struct member 'pad'.
|
int |
getTotloop()
Get method for struct member 'totloop'.
|
void |
setFlag(byte flag)
Set method for struct member 'flag'.
|
void |
setLoopstart(int loopstart)
Set method for struct member 'loopstart'.
|
void |
setMat_nr(short mat_nr)
Set method for struct member 'mat_nr'.
|
void |
setPad(byte pad)
Set method for struct member 'pad'.
|
void |
setTotloop(int totloop)
Set method for struct member 'totloop'.
|
__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
public static final int __DNA__SDNA_INDEX
It is required when allocating a new block to store data for MPoly.
org.cakelab.blender.io.dna.internal.StructDNA}
,
org.cakelab.blender.io.block.BlockTable#allocate}
,
Constant Field Valuespublic static final long[] __DNA__FIELD__loopstart
#getMLoop
)offset into loop array and number of loops in the face
This is how you get a reference on the corresponding field in the struct:
MPoly mpoly = ...; CPointer<Object> p = mpoly.__dna__addressof(MPoly.__DNA__FIELD__loopstart); CPointer<Integer> p_loopstart = p.cast(new Class[]{Integer.class});
public static final long[] __DNA__FIELD__totloop
keep signed since we need to subtract when getting the previous loop
This is how you get a reference on the corresponding field in the struct:
MPoly mpoly = ...; CPointer<Object> p = mpoly.__dna__addressof(MPoly.__DNA__FIELD__totloop); CPointer<Integer> p_totloop = p.cast(new Class[]{Integer.class});
public static final long[] __DNA__FIELD__mat_nr
This is how you get a reference on the corresponding field in the struct:
MPoly mpoly = ...; CPointer<Object> p = mpoly.__dna__addressof(MPoly.__DNA__FIELD__mat_nr); CPointer<Short> p_mat_nr = p.cast(new Class[]{Short.class});
public static final long[] __DNA__FIELD__flag
ME_SMOOTH = (1 << 0), ME_FACE_SEL = (1 << 1), // ME_HIDE = (1 << 4),
This is how you get a reference on the corresponding field in the struct:
MPoly mpoly = ...; CPointer<Object> p = mpoly.__dna__addressof(MPoly.__DNA__FIELD__flag); CPointer<Byte> p_flag = p.cast(new Class[]{Byte.class});
public static final long[] __DNA__FIELD__pad
This is how you get a reference on the corresponding field in the struct:
MPoly mpoly = ...; CPointer<Object> p = mpoly.__dna__addressof(MPoly.__DNA__FIELD__pad); CPointer<Byte> p_pad = p.cast(new Class[]{Byte.class});
public MPoly(long __address, Block __block, BlockTable __blockTable)
protected MPoly(MPoly that)
public int getLoopstart() throws java.io.IOException
#getMLoop
)offset into loop array and number of loops in the face
java.io.IOException
__DNA__FIELD__loopstart
public void setLoopstart(int loopstart) throws java.io.IOException
#getMLoop
)offset into loop array and number of loops in the face
java.io.IOException
__DNA__FIELD__loopstart
public int getTotloop() throws java.io.IOException
keep signed since we need to subtract when getting the previous loop
java.io.IOException
__DNA__FIELD__totloop
public void setTotloop(int totloop) throws java.io.IOException
keep signed since we need to subtract when getting the previous loop
java.io.IOException
__DNA__FIELD__totloop
public short getMat_nr() throws java.io.IOException
java.io.IOException
__DNA__FIELD__mat_nr
public void setMat_nr(short mat_nr) throws java.io.IOException
java.io.IOException
__DNA__FIELD__mat_nr
public byte getFlag() throws java.io.IOException
ME_SMOOTH = (1 << 0), ME_FACE_SEL = (1 << 1), // ME_HIDE = (1 << 4),
java.io.IOException
__DNA__FIELD__flag
public void setFlag(byte flag) throws java.io.IOException
ME_SMOOTH = (1 << 0), ME_FACE_SEL = (1 << 1), // ME_HIDE = (1 << 4),
java.io.IOException
__DNA__FIELD__flag
public byte getPad() throws java.io.IOException
java.io.IOException
__DNA__FIELD__pad
public void setPad(byte pad) throws java.io.IOException
java.io.IOException
__DNA__FIELD__pad