public class bTouchSensor extends CFacade
DEPRECATED
Modifier and Type | Field and Description |
---|---|
static long[] |
__DNA__FIELD__dist
Field descriptor (offset) for struct member 'dist'.
|
static long[] |
__DNA__FIELD__ma
Field descriptor (offset) for struct member 'ma'.
|
static long[] |
__DNA__FIELD__name
Field descriptor (offset) for struct member 'name'.
|
static long[] |
__DNA__FIELD__pad
Field descriptor (offset) for struct member 'pad'.
|
static int |
__DNA__SDNA_INDEX
This is the sdna index of the struct bTouchSensor.
|
__io__address, __io__arch_index, __io__block, __io__blockTable, __io__pointersize
Modifier | Constructor and Description |
---|---|
protected |
bTouchSensor(bTouchSensor that) |
|
bTouchSensor(long __address,
Block __block,
BlockTable __blockTable) |
Modifier and Type | Method and Description |
---|---|
CPointer<bTouchSensor> |
__io__addressof()
Instantiates a pointer on this instance.
|
float |
getDist()
Get method for struct member 'dist'.
|
CPointer<Material> |
getMa()
Get method for struct member 'ma'.
|
CArrayFacade<java.lang.Byte> |
getName()
Get method for struct member 'name'.
|
float |
getPad()
Get method for struct member 'pad'.
|
void |
setDist(float dist)
Set method for struct member 'dist'.
|
void |
setMa(CPointer<Material> ma)
Set method for struct member 'ma'.
|
void |
setName(CArrayFacade<java.lang.Byte> name)
Set method for struct member 'name'.
|
void |
setPad(float pad)
Set method for struct member 'pad'.
|
__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 bTouchSensor.
org.cakelab.blender.io.dna.internal.StructDNA}
,
org.cakelab.blender.io.block.BlockTable#allocate}
,
Constant Field Valuespublic static final long[] __DNA__FIELD__name
MAX_NAME
This is how you get a reference on the corresponding field in the struct:
bTouchSensor btouchsensor = ...; CPointer<Object> p = btouchsensor.__dna__addressof(bTouchSensor.__DNA__FIELD__name); CPointer<CArrayFacade<Byte>> p_name = p.cast(new Class[]{CArrayFacade.class, Byte.class});
public static final long[] __DNA__FIELD__ma
This is how you get a reference on the corresponding field in the struct:
bTouchSensor btouchsensor = ...; CPointer<Object> p = btouchsensor.__dna__addressof(bTouchSensor.__DNA__FIELD__ma); CPointer<CPointer<Material>> p_ma = p.cast(new Class[]{CPointer.class, Material.class});
public static final long[] __DNA__FIELD__dist
This is how you get a reference on the corresponding field in the struct:
bTouchSensor btouchsensor = ...; CPointer<Object> p = btouchsensor.__dna__addressof(bTouchSensor.__DNA__FIELD__dist); CPointer<Float> p_dist = p.cast(new Class[]{Float.class});
public static final long[] __DNA__FIELD__pad
This is how you get a reference on the corresponding field in the struct:
bTouchSensor btouchsensor = ...; CPointer<Object> p = btouchsensor.__dna__addressof(bTouchSensor.__DNA__FIELD__pad); CPointer<Float> p_pad = p.cast(new Class[]{Float.class});
public bTouchSensor(long __address, Block __block, BlockTable __blockTable)
protected bTouchSensor(bTouchSensor that)
public CArrayFacade<java.lang.Byte> getName() throws java.io.IOException
MAX_NAME
java.io.IOException
__DNA__FIELD__name
public void setName(CArrayFacade<java.lang.Byte> name) throws java.io.IOException
MAX_NAME
java.io.IOException
__DNA__FIELD__name
public CPointer<Material> getMa() throws java.io.IOException
java.io.IOException
__DNA__FIELD__ma
public void setMa(CPointer<Material> ma) throws java.io.IOException
java.io.IOException
__DNA__FIELD__ma
public float getDist() throws java.io.IOException
java.io.IOException
__DNA__FIELD__dist
public void setDist(float dist) throws java.io.IOException
java.io.IOException
__DNA__FIELD__dist
public float getPad() throws java.io.IOException
java.io.IOException
__DNA__FIELD__pad
public void setPad(float pad) throws java.io.IOException
java.io.IOException
__DNA__FIELD__pad
public CPointer<bTouchSensor> __io__addressof()