public class bMouseSensor extends CFacade
Defines the settings of a mouse sensor.
Modifier and Type | Field and Description |
---|---|
static long[] |
__DNA__FIELD__flag
Field descriptor (offset) for struct member 'flag'.
|
static long[] |
__DNA__FIELD__matname
Field descriptor (offset) for struct member 'matname'.
|
static long[] |
__DNA__FIELD__mode
Field descriptor (offset) for struct member 'mode'.
|
static long[] |
__DNA__FIELD__pad1
Field descriptor (offset) for struct member 'pad1'.
|
static long[] |
__DNA__FIELD__propname
Field descriptor (offset) for struct member 'propname'.
|
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 bMouseSensor.
|
__io__address, __io__arch_index, __io__block, __io__blockTable, __io__pointersize
Modifier | Constructor and Description |
---|---|
protected |
bMouseSensor(bMouseSensor that) |
|
bMouseSensor(long __address,
Block __block,
BlockTable __blockTable) |
Modifier and Type | Method and Description |
---|---|
CPointer<bMouseSensor> |
__io__addressof()
Instantiates a pointer on this instance.
|
short |
getFlag()
Get method for struct member 'flag'.
|
CArrayFacade<java.lang.Byte> |
getMatname()
Get method for struct member 'matname'.
|
short |
getMode()
Get method for struct member 'mode'.
|
short |
getPad1()
Get method for struct member 'pad1'.
|
CArrayFacade<java.lang.Byte> |
getPropname()
Get method for struct member 'propname'.
|
short |
getType()
Get method for struct member 'type'.
|
void |
setFlag(short flag)
Set method for struct member 'flag'.
|
void |
setMatname(CArrayFacade<java.lang.Byte> matname)
Set method for struct member 'matname'.
|
void |
setMode(short mode)
Set method for struct member 'mode'.
|
void |
setPad1(short pad1)
Set method for struct member 'pad1'.
|
void |
setPropname(CArrayFacade<java.lang.Byte> propname)
Set method for struct member 'propname'.
|
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 bMouseSensor.
org.cakelab.blender.io.dna.internal.StructDNA}
,
org.cakelab.blender.io.block.BlockTable#allocate}
,
Constant Field Valuespublic static final long[] __DNA__FIELD__type
The type of key this sensor listens to.
This is how you get a reference on the corresponding field in the struct:
bMouseSensor bmousesensor = ...; CPointer<Object> p = bmousesensor.__dna__addressof(bMouseSensor.__DNA__FIELD__type); CPointer<Short> p_type = 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:
bMouseSensor bmousesensor = ...; CPointer<Object> p = bmousesensor.__dna__addressof(bMouseSensor.__DNA__FIELD__flag); CPointer<Short> p_flag = p.cast(new Class[]{Short.class});
public static final long[] __DNA__FIELD__pad1
This is how you get a reference on the corresponding field in the struct:
bMouseSensor bmousesensor = ...; CPointer<Object> p = bmousesensor.__dna__addressof(bMouseSensor.__DNA__FIELD__pad1); CPointer<Short> p_pad1 = p.cast(new Class[]{Short.class});
public static final long[] __DNA__FIELD__mode
flag to choose material or property
This is how you get a reference on the corresponding field in the struct:
bMouseSensor bmousesensor = ...; CPointer<Object> p = bmousesensor.__dna__addressof(bMouseSensor.__DNA__FIELD__mode); CPointer<Short> p_mode = p.cast(new Class[]{Short.class});
public static final long[] __DNA__FIELD__propname
This is how you get a reference on the corresponding field in the struct:
bMouseSensor bmousesensor = ...; CPointer<Object> p = bmousesensor.__dna__addressof(bMouseSensor.__DNA__FIELD__propname); CPointer<CArrayFacade<Byte>> p_propname = p.cast(new Class[]{CArrayFacade.class, Byte.class});
public static final long[] __DNA__FIELD__matname
This is how you get a reference on the corresponding field in the struct:
bMouseSensor bmousesensor = ...; CPointer<Object> p = bmousesensor.__dna__addressof(bMouseSensor.__DNA__FIELD__matname); CPointer<CArrayFacade<Byte>> p_matname = p.cast(new Class[]{CArrayFacade.class, Byte.class});
public bMouseSensor(long __address, Block __block, BlockTable __blockTable)
protected bMouseSensor(bMouseSensor that)
public short getType() throws java.io.IOException
The type of key this sensor listens to.
java.io.IOException
__DNA__FIELD__type
public void setType(short type) throws java.io.IOException
The type of key this sensor listens to.
java.io.IOException
__DNA__FIELD__type
public short getFlag() throws java.io.IOException
java.io.IOException
__DNA__FIELD__flag
public void setFlag(short flag) throws java.io.IOException
java.io.IOException
__DNA__FIELD__flag
public short getPad1() throws java.io.IOException
java.io.IOException
__DNA__FIELD__pad1
public void setPad1(short pad1) throws java.io.IOException
java.io.IOException
__DNA__FIELD__pad1
public short getMode() throws java.io.IOException
flag to choose material or property
java.io.IOException
__DNA__FIELD__mode
public void setMode(short mode) throws java.io.IOException
flag to choose material or property
java.io.IOException
__DNA__FIELD__mode
public CArrayFacade<java.lang.Byte> getPropname() throws java.io.IOException
java.io.IOException
__DNA__FIELD__propname
public void setPropname(CArrayFacade<java.lang.Byte> propname) throws java.io.IOException
java.io.IOException
__DNA__FIELD__propname
public CArrayFacade<java.lang.Byte> getMatname() throws java.io.IOException
java.io.IOException
__DNA__FIELD__matname
public void setMatname(CArrayFacade<java.lang.Byte> matname) throws java.io.IOException
java.io.IOException
__DNA__FIELD__matname
public CPointer<bMouseSensor> __io__addressof()