public class CharInfo extends CFacade
Modifier and Type | Field and Description |
---|---|
static long[] |
__DNA__FIELD__flag
Field descriptor (offset) for struct member 'flag'.
|
static long[] |
__DNA__FIELD__kern
Field descriptor (offset) for struct member 'kern'.
|
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__pad2
Field descriptor (offset) for struct member 'pad2'.
|
static int |
__DNA__SDNA_INDEX
This is the sdna index of the struct CharInfo.
|
__io__address, __io__arch_index, __io__block, __io__blockTable, __io__pointersize
Modifier | Constructor and Description |
---|---|
protected |
CharInfo(CharInfo that) |
|
CharInfo(long __address,
Block __block,
BlockTable __blockTable) |
Modifier and Type | Method and Description |
---|---|
CPointer<CharInfo> |
__io__addressof()
Instantiates a pointer on this instance.
|
byte |
getFlag()
Get method for struct member 'flag'.
|
short |
getKern()
Get method for struct member 'kern'.
|
short |
getMat_nr()
Get method for struct member 'mat_nr'.
|
byte |
getPad()
Get method for struct member 'pad'.
|
short |
getPad2()
Get method for struct member 'pad2'.
|
void |
setFlag(byte flag)
Set method for struct member 'flag'.
|
void |
setKern(short kern)
Set method for struct member 'kern'.
|
void |
setMat_nr(short mat_nr)
Set method for struct member 'mat_nr'.
|
void |
setPad(byte pad)
Set method for struct member 'pad'.
|
void |
setPad2(short pad2)
Set method for struct member 'pad2'.
|
__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 CharInfo.
org.cakelab.blender.io.dna.internal.StructDNA}
,
org.cakelab.blender.io.block.BlockTable#allocate}
,
Constant Field Valuespublic static final long[] __DNA__FIELD__kern
This is how you get a reference on the corresponding field in the struct:
CharInfo charinfo = ...; CPointer<Object> p = charinfo.__dna__addressof(CharInfo.__DNA__FIELD__kern); CPointer<Short> p_kern = p.cast(new Class[]{Short.class});
public static final long[] __DNA__FIELD__mat_nr
index start at 1, unlike mesh & nurbs
This is how you get a reference on the corresponding field in the struct:
CharInfo charinfo = ...; CPointer<Object> p = charinfo.__dna__addressof(CharInfo.__DNA__FIELD__mat_nr); CPointer<Short> p_mat_nr = p.cast(new Class[]{Short.class});
public static final long[] __DNA__FIELD__flag
This is how you get a reference on the corresponding field in the struct:
CharInfo charinfo = ...; CPointer<Object> p = charinfo.__dna__addressof(CharInfo.__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:
CharInfo charinfo = ...; CPointer<Object> p = charinfo.__dna__addressof(CharInfo.__DNA__FIELD__pad); CPointer<Byte> p_pad = p.cast(new Class[]{Byte.class});
public static final long[] __DNA__FIELD__pad2
This is how you get a reference on the corresponding field in the struct:
CharInfo charinfo = ...; CPointer<Object> p = charinfo.__dna__addressof(CharInfo.__DNA__FIELD__pad2); CPointer<Short> p_pad2 = p.cast(new Class[]{Short.class});
public CharInfo(long __address, Block __block, BlockTable __blockTable)
protected CharInfo(CharInfo that)
public short getKern() throws java.io.IOException
java.io.IOException
__DNA__FIELD__kern
public void setKern(short kern) throws java.io.IOException
java.io.IOException
__DNA__FIELD__kern
public short getMat_nr() throws java.io.IOException
index start at 1, unlike mesh & nurbs
java.io.IOException
__DNA__FIELD__mat_nr
public void setMat_nr(short mat_nr) throws java.io.IOException
index start at 1, unlike mesh & nurbs
java.io.IOException
__DNA__FIELD__mat_nr
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
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
public short getPad2() throws java.io.IOException
java.io.IOException
__DNA__FIELD__pad2
public void setPad2(short pad2) throws java.io.IOException
java.io.IOException
__DNA__FIELD__pad2