public class MFace extends CFacade
tessellation face, see MLoop/MPoly for the real face data
Modifier and Type | Field and Description |
---|---|
static long[] |
__DNA__FIELD__edcode
Field descriptor (offset) for struct member 'edcode'.
|
static long[] |
__DNA__FIELD__flag
Field descriptor (offset) for struct member 'flag'.
|
static long[] |
__DNA__FIELD__mat_nr
Field descriptor (offset) for struct member 'mat_nr'.
|
static long[] |
__DNA__FIELD__v1
Field descriptor (offset) for struct member 'v1'.
|
static long[] |
__DNA__FIELD__v2
Field descriptor (offset) for struct member 'v2'.
|
static long[] |
__DNA__FIELD__v3
Field descriptor (offset) for struct member 'v3'.
|
static long[] |
__DNA__FIELD__v4
Field descriptor (offset) for struct member 'v4'.
|
static int |
__DNA__SDNA_INDEX
This is the sdna index of the struct MFace.
|
__io__address, __io__arch_index, __io__block, __io__blockTable, __io__pointersize
Modifier | Constructor and Description |
---|---|
|
MFace(long __address,
Block __block,
BlockTable __blockTable) |
protected |
MFace(MFace that) |
Modifier and Type | Method and Description |
---|---|
CPointer<MFace> |
__io__addressof()
Instantiates a pointer on this instance.
|
byte |
getEdcode()
Get method for struct member 'edcode'.
|
byte |
getFlag()
Get method for struct member 'flag'.
|
short |
getMat_nr()
Get method for struct member 'mat_nr'.
|
int |
getV1()
Get method for struct member 'v1'.
|
int |
getV2()
Get method for struct member 'v2'.
|
int |
getV3()
Get method for struct member 'v3'.
|
int |
getV4()
Get method for struct member 'v4'.
|
void |
setEdcode(byte edcode)
Set method for struct member 'edcode'.
|
void |
setFlag(byte flag)
Set method for struct member 'flag'.
|
void |
setMat_nr(short mat_nr)
Set method for struct member 'mat_nr'.
|
void |
setV1(int v1)
Set method for struct member 'v1'.
|
void |
setV2(int v2)
Set method for struct member 'v2'.
|
void |
setV3(int v3)
Set method for struct member 'v3'.
|
void |
setV4(int v4)
Set method for struct member 'v4'.
|
__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 MFace.
org.cakelab.blender.io.dna.internal.StructDNA}
,
org.cakelab.blender.io.block.BlockTable#allocate}
,
Constant Field Valuespublic static final long[] __DNA__FIELD__v1
This is how you get a reference on the corresponding field in the struct:
MFace mface = ...; CPointer<Object> p = mface.__dna__addressof(MFace.__DNA__FIELD__v1); CPointer<Integer> p_v1 = p.cast(new Class[]{Integer.class});
public static final long[] __DNA__FIELD__v2
This is how you get a reference on the corresponding field in the struct:
MFace mface = ...; CPointer<Object> p = mface.__dna__addressof(MFace.__DNA__FIELD__v2); CPointer<Integer> p_v2 = p.cast(new Class[]{Integer.class});
public static final long[] __DNA__FIELD__v3
This is how you get a reference on the corresponding field in the struct:
MFace mface = ...; CPointer<Object> p = mface.__dna__addressof(MFace.__DNA__FIELD__v3); CPointer<Integer> p_v3 = p.cast(new Class[]{Integer.class});
public static final long[] __DNA__FIELD__v4
This is how you get a reference on the corresponding field in the struct:
MFace mface = ...; CPointer<Object> p = mface.__dna__addressof(MFace.__DNA__FIELD__v4); CPointer<Integer> p_v4 = 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:
MFace mface = ...; CPointer<Object> p = mface.__dna__addressof(MFace.__DNA__FIELD__mat_nr); CPointer<Short> p_mat_nr = p.cast(new Class[]{Short.class});
public static final long[] __DNA__FIELD__edcode
We keep edcode, for conversion to edges draw flags in old files.
This is how you get a reference on the corresponding field in the struct:
MFace mface = ...; CPointer<Object> p = mface.__dna__addressof(MFace.__DNA__FIELD__edcode); CPointer<Byte> p_edcode = p.cast(new Class[]{Byte.class});
public static final long[] __DNA__FIELD__flag
This is how you get a reference on the corresponding field in the struct:
MFace mface = ...; CPointer<Object> p = mface.__dna__addressof(MFace.__DNA__FIELD__flag); CPointer<Byte> p_flag = p.cast(new Class[]{Byte.class});
public MFace(long __address, Block __block, BlockTable __blockTable)
protected MFace(MFace that)
public int getV1() throws java.io.IOException
java.io.IOException
__DNA__FIELD__v1
public void setV1(int v1) throws java.io.IOException
java.io.IOException
__DNA__FIELD__v1
public int getV2() throws java.io.IOException
java.io.IOException
__DNA__FIELD__v2
public void setV2(int v2) throws java.io.IOException
java.io.IOException
__DNA__FIELD__v2
public int getV3() throws java.io.IOException
java.io.IOException
__DNA__FIELD__v3
public void setV3(int v3) throws java.io.IOException
java.io.IOException
__DNA__FIELD__v3
public int getV4() throws java.io.IOException
java.io.IOException
__DNA__FIELD__v4
public void setV4(int v4) throws java.io.IOException
java.io.IOException
__DNA__FIELD__v4
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 getEdcode() throws java.io.IOException
We keep edcode, for conversion to edges draw flags in old files.
java.io.IOException
__DNA__FIELD__edcode
public void setEdcode(byte edcode) throws java.io.IOException
We keep edcode, for conversion to edges draw flags in old files.
java.io.IOException
__DNA__FIELD__edcode
public byte getFlag() throws java.io.IOException
java.io.IOException
__DNA__FIELD__flag
public void setFlag(byte flag) throws java.io.IOException
java.io.IOException
__DNA__FIELD__flag