public class bKeyboardSensor extends CFacade
Modifier and Type | Field and Description |
---|---|
static long[] |
__DNA__FIELD__key
Field descriptor (offset) for struct member 'key'.
|
static long[] |
__DNA__FIELD__qual
Field descriptor (offset) for struct member 'qual'.
|
static long[] |
__DNA__FIELD__qual2
Field descriptor (offset) for struct member 'qual2'.
|
static long[] |
__DNA__FIELD__targetName
Field descriptor (offset) for struct member 'targetName'.
|
static long[] |
__DNA__FIELD__toggleName
Field descriptor (offset) for struct member 'toggleName'.
|
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 bKeyboardSensor.
|
__io__address, __io__arch_index, __io__block, __io__blockTable, __io__pointersize
Modifier | Constructor and Description |
---|---|
protected |
bKeyboardSensor(bKeyboardSensor that) |
|
bKeyboardSensor(long __address,
Block __block,
BlockTable __blockTable) |
Modifier and Type | Method and Description |
---|---|
CPointer<bKeyboardSensor> |
__io__addressof()
Instantiates a pointer on this instance.
|
short |
getKey()
Get method for struct member 'key'.
|
short |
getQual()
Get method for struct member 'qual'.
|
short |
getQual2()
Get method for struct member 'qual2'.
|
CArrayFacade<java.lang.Byte> |
getTargetName()
Get method for struct member 'targetName'.
|
CArrayFacade<java.lang.Byte> |
getToggleName()
Get method for struct member 'toggleName'.
|
short |
getType()
Get method for struct member 'type'.
|
void |
setKey(short key)
Set method for struct member 'key'.
|
void |
setQual(short qual)
Set method for struct member 'qual'.
|
void |
setQual2(short qual2)
Set method for struct member 'qual2'.
|
void |
setTargetName(CArrayFacade<java.lang.Byte> targetName)
Set method for struct member 'targetName'.
|
void |
setToggleName(CArrayFacade<java.lang.Byte> toggleName)
Set method for struct member 'toggleName'.
|
void |
setType(short type)
Set method for struct member 'type'.
|
__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 bKeyboardSensor.
org.cakelab.blender.io.dna.internal.StructDNA}
,
org.cakelab.blender.io.block.BlockTable#allocate}
,
Constant Field Valuespublic static final long[] __DNA__FIELD__key
This is how you get a reference on the corresponding field in the struct:
bKeyboardSensor bkeyboardsensor = ...; CPointer<Object> p = bkeyboardsensor.__dna__addressof(bKeyboardSensor.__DNA__FIELD__key); CPointer<Short> p_key = p.cast(new Class[]{Short.class});
public static final long[] __DNA__FIELD__qual
This is how you get a reference on the corresponding field in the struct:
bKeyboardSensor bkeyboardsensor = ...; CPointer<Object> p = bkeyboardsensor.__dna__addressof(bKeyboardSensor.__DNA__FIELD__qual); CPointer<Short> p_qual = p.cast(new Class[]{Short.class});
public static final long[] __DNA__FIELD__type
This is how you get a reference on the corresponding field in the struct:
bKeyboardSensor bkeyboardsensor = ...; CPointer<Object> p = bkeyboardsensor.__dna__addressof(bKeyboardSensor.__DNA__FIELD__type); CPointer<Short> p_type = p.cast(new Class[]{Short.class});
public static final long[] __DNA__FIELD__qual2
This is how you get a reference on the corresponding field in the struct:
bKeyboardSensor bkeyboardsensor = ...; CPointer<Object> p = bkeyboardsensor.__dna__addressof(bKeyboardSensor.__DNA__FIELD__qual2); CPointer<Short> p_qual2 = p.cast(new Class[]{Short.class});
public static final long[] __DNA__FIELD__targetName
This is how you get a reference on the corresponding field in the struct:
bKeyboardSensor bkeyboardsensor = ...; CPointer<Object> p = bkeyboardsensor.__dna__addressof(bKeyboardSensor.__DNA__FIELD__targetName); CPointer<CArrayFacade<Byte>> p_targetName = p.cast(new Class[]{CArrayFacade.class, Byte.class});
public static final long[] __DNA__FIELD__toggleName
This is how you get a reference on the corresponding field in the struct:
bKeyboardSensor bkeyboardsensor = ...; CPointer<Object> p = bkeyboardsensor.__dna__addressof(bKeyboardSensor.__DNA__FIELD__toggleName); CPointer<CArrayFacade<Byte>> p_toggleName = p.cast(new Class[]{CArrayFacade.class, Byte.class});
public bKeyboardSensor(long __address, Block __block, BlockTable __blockTable)
protected bKeyboardSensor(bKeyboardSensor that)
public short getKey() throws java.io.IOException
java.io.IOException
__DNA__FIELD__key
public void setKey(short key) throws java.io.IOException
java.io.IOException
__DNA__FIELD__key
public short getQual() throws java.io.IOException
java.io.IOException
__DNA__FIELD__qual
public void setQual(short qual) throws java.io.IOException
java.io.IOException
__DNA__FIELD__qual
public short getType() throws java.io.IOException
java.io.IOException
__DNA__FIELD__type
public void setType(short type) throws java.io.IOException
java.io.IOException
__DNA__FIELD__type
public short getQual2() throws java.io.IOException
java.io.IOException
__DNA__FIELD__qual2
public void setQual2(short qual2) throws java.io.IOException
java.io.IOException
__DNA__FIELD__qual2
public CArrayFacade<java.lang.Byte> getTargetName() throws java.io.IOException
java.io.IOException
__DNA__FIELD__targetName
public void setTargetName(CArrayFacade<java.lang.Byte> targetName) throws java.io.IOException
java.io.IOException
__DNA__FIELD__targetName
public CArrayFacade<java.lang.Byte> getToggleName() throws java.io.IOException
java.io.IOException
__DNA__FIELD__toggleName
public void setToggleName(CArrayFacade<java.lang.Byte> toggleName) throws java.io.IOException
java.io.IOException
__DNA__FIELD__toggleName
public CPointer<bKeyboardSensor> __io__addressof()