Class MFace
- java.lang.Object
-
- org.cakelab.blender.nio.CFacade
-
- org.blender.dna.MFace
-
public class MFace extends CFacade
-
-
Field Summary
Fields Modifier and Type Field 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.-
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 MFace(long __address, Block __block, BlockTable __blockTable)
protected
MFace(MFace that)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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'.-
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 MFace.It is required when allocating a new block to store data for MFace.
- See Also:
StructDNA
,BlockTable
, Constant Field Values
-
__DNA__FIELD__v1
public static final long[] __DNA__FIELD__v1
Field descriptor (offset) for struct member 'v1'.Pointer Arithmetics
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});
Metadata
- Field: 'v1'
- Signature: 'int'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD__v2
public static final long[] __DNA__FIELD__v2
Field descriptor (offset) for struct member 'v2'.Pointer Arithmetics
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});
Metadata
- Field: 'v2'
- Signature: 'int'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD__v3
public static final long[] __DNA__FIELD__v3
Field descriptor (offset) for struct member 'v3'.Pointer Arithmetics
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});
Metadata
- Field: 'v3'
- Signature: 'int'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD__v4
public static final long[] __DNA__FIELD__v4
Field descriptor (offset) for struct member 'v4'.Pointer Arithmetics
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});
Metadata
- Field: 'v4'
- Signature: 'int'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD__mat_nr
public static final long[] __DNA__FIELD__mat_nr
Field descriptor (offset) for struct member 'mat_nr'.Pointer Arithmetics
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});
Metadata
- Field: 'mat_nr'
- Signature: 'short'
- Actual Size (32bit/64bit): 2/2
-
__DNA__FIELD__edcode
public static final long[] __DNA__FIELD__edcode
Field descriptor (offset) for struct member 'edcode'.Field Documentation
Blender Source Code
We keep edcode, for conversion to edges draw flags in old files.
Pointer Arithmetics
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});
Metadata
- Field: 'edcode'
- 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'.Pointer Arithmetics
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});
Metadata
- Field: 'flag'
- Signature: 'char'
- Actual Size (32bit/64bit): 1/1
-
-
Constructor Detail
-
MFace
public MFace(long __address, Block __block, BlockTable __blockTable)
-
MFace
protected MFace(MFace that)
-
-
Method Detail
-
getV1
public int getV1() throws java.io.IOException
Get method for struct member 'v1'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__v1
-
setV1
public void setV1(int v1) throws java.io.IOException
Set method for struct member 'v1'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__v1
-
getV2
public int getV2() throws java.io.IOException
Get method for struct member 'v2'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__v2
-
setV2
public void setV2(int v2) throws java.io.IOException
Set method for struct member 'v2'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__v2
-
getV3
public int getV3() throws java.io.IOException
Get method for struct member 'v3'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__v3
-
setV3
public void setV3(int v3) throws java.io.IOException
Set method for struct member 'v3'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__v3
-
getV4
public int getV4() throws java.io.IOException
Get method for struct member 'v4'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__v4
-
setV4
public void setV4(int v4) throws java.io.IOException
Set method for struct member 'v4'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__v4
-
getMat_nr
public short getMat_nr() throws java.io.IOException
Get method for struct member 'mat_nr'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__mat_nr
-
setMat_nr
public void setMat_nr(short mat_nr) throws java.io.IOException
Set method for struct member 'mat_nr'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__mat_nr
-
getEdcode
public byte getEdcode() throws java.io.IOException
Get method for struct member 'edcode'.Field Documentation
Blender Source Code
We keep edcode, for conversion to edges draw flags in old files.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__edcode
-
setEdcode
public void setEdcode(byte edcode) throws java.io.IOException
Set method for struct member 'edcode'.Field Documentation
Blender Source Code
We keep edcode, for conversion to edges draw flags in old files.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__edcode
-
getFlag
public byte getFlag() throws java.io.IOException
Get method for struct member 'flag'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__flag
-
setFlag
public void setFlag(byte flag) throws java.io.IOException
Set method for struct member 'flag'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__flag
-
-