public class DriverTarget extends CFacade
Drivers -----------------------------------
Defines how to access a dependency needed for a driver variable.
Modifier and Type | Field and Description |
---|---|
static long[] |
__DNA__FIELD___pad
Field descriptor (offset) for struct member '_pad'.
|
static long[] |
__DNA__FIELD__flag
Field descriptor (offset) for struct member 'flag'.
|
static long[] |
__DNA__FIELD__id
Field descriptor (offset) for struct member 'id'.
|
static long[] |
__DNA__FIELD__idtype
Field descriptor (offset) for struct member 'idtype'.
|
static long[] |
__DNA__FIELD__pchan_name
Field descriptor (offset) for struct member 'pchan_name'.
|
static long[] |
__DNA__FIELD__rna_path
Field descriptor (offset) for struct member 'rna_path'.
|
static long[] |
__DNA__FIELD__rotation_mode
Field descriptor (offset) for struct member 'rotation_mode'.
|
static long[] |
__DNA__FIELD__transChan
Field descriptor (offset) for struct member 'transChan'.
|
static int |
__DNA__SDNA_INDEX
This is the sdna index of the struct DriverTarget.
|
__io__address, __io__arch_index, __io__block, __io__blockTable, __io__pointersize
Modifier | Constructor and Description |
---|---|
protected |
DriverTarget(DriverTarget that) |
|
DriverTarget(long __address,
Block __block,
BlockTable __blockTable) |
Modifier and Type | Method and Description |
---|---|
CPointer<DriverTarget> |
__io__addressof()
Instantiates a pointer on this instance.
|
CArrayFacade<java.lang.Byte> |
get_pad()
Get method for struct member '_pad'.
|
short |
getFlag()
Get method for struct member 'flag'.
|
CPointer<ID> |
getId()
Get method for struct member 'id'.
|
int |
getIdtype()
Get method for struct member 'idtype'.
|
CArrayFacade<java.lang.Byte> |
getPchan_name()
Get method for struct member 'pchan_name'.
|
CPointer<java.lang.Byte> |
getRna_path()
Get method for struct member 'rna_path'.
|
byte |
getRotation_mode()
Get method for struct member 'rotation_mode'.
|
short |
getTransChan()
Get method for struct member 'transChan'.
|
void |
set_pad(CArrayFacade<java.lang.Byte> _pad)
Set method for struct member '_pad'.
|
void |
setFlag(short flag)
Set method for struct member 'flag'.
|
void |
setId(CPointer<ID> id)
Set method for struct member 'id'.
|
void |
setIdtype(int idtype)
Set method for struct member 'idtype'.
|
void |
setPchan_name(CArrayFacade<java.lang.Byte> pchan_name)
Set method for struct member 'pchan_name'.
|
void |
setRna_path(CPointer<java.lang.Byte> rna_path)
Set method for struct member 'rna_path'.
|
void |
setRotation_mode(byte rotation_mode)
Set method for struct member 'rotation_mode'.
|
void |
setTransChan(short transChan)
Set method for struct member 'transChan'.
|
__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 DriverTarget.
org.cakelab.blender.io.dna.internal.StructDNA}
,
org.cakelab.blender.io.block.BlockTable#allocate}
,
Constant Field Valuespublic static final long[] __DNA__FIELD__id
ID-block which owns the target, no user count.
This is how you get a reference on the corresponding field in the struct:
DriverTarget drivertarget = ...; CPointer<Object> p = drivertarget.__dna__addressof(DriverTarget.__DNA__FIELD__id); CPointer<CPointer<ID>> p_id = p.cast(new Class[]{CPointer.class, ID.class});
public static final long[] __DNA__FIELD__rna_path
RNA path defining the setting to use (for DVAR_TYPE_SINGLE_PROP).
This is how you get a reference on the corresponding field in the struct:
DriverTarget drivertarget = ...; CPointer<Object> p = drivertarget.__dna__addressof(DriverTarget.__DNA__FIELD__rna_path); CPointer<CPointer<Byte>> p_rna_path = p.cast(new Class[]{CPointer.class, Byte.class});
public static final long[] __DNA__FIELD__pchan_name
Name of the posebone to use (for vars where DTAR_FLAG_STRUCT_REF is used) - MAX_ID_NAME-2.
This is how you get a reference on the corresponding field in the struct:
DriverTarget drivertarget = ...; CPointer<Object> p = drivertarget.__dna__addressof(DriverTarget.__DNA__FIELD__pchan_name); CPointer<CArrayFacade<Byte>> p_pchan_name = p.cast(new Class[]{CArrayFacade.class, Byte.class});
public static final long[] __DNA__FIELD__transChan
Transform channel index (for DVAR_TYPE_TRANSFORM_CHAN.)
This is how you get a reference on the corresponding field in the struct:
DriverTarget drivertarget = ...; CPointer<Object> p = drivertarget.__dna__addressof(DriverTarget.__DNA__FIELD__transChan); CPointer<Short> p_transChan = p.cast(new Class[]{Short.class});
public static final long[] __DNA__FIELD__rotation_mode
Rotation channel calculation type.
This is how you get a reference on the corresponding field in the struct:
DriverTarget drivertarget = ...; CPointer<Object> p = drivertarget.__dna__addressof(DriverTarget.__DNA__FIELD__rotation_mode); CPointer<Byte> p_rotation_mode = 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:
DriverTarget drivertarget = ...; CPointer<Object> p = drivertarget.__dna__addressof(DriverTarget.__DNA__FIELD___pad); CPointer<CArrayFacade<Byte>> p__pad = p.cast(new Class[]{CArrayFacade.class, Byte.class});
public static final long[] __DNA__FIELD__flag
Flags for the validity of the target (NOTE: these get reset every time the types change).
This is how you get a reference on the corresponding field in the struct:
DriverTarget drivertarget = ...; CPointer<Object> p = drivertarget.__dna__addressof(DriverTarget.__DNA__FIELD__flag); CPointer<Short> p_flag = p.cast(new Class[]{Short.class});
public static final long[] __DNA__FIELD__idtype
Type of ID-block that this target can use.
This is how you get a reference on the corresponding field in the struct:
DriverTarget drivertarget = ...; CPointer<Object> p = drivertarget.__dna__addressof(DriverTarget.__DNA__FIELD__idtype); CPointer<Integer> p_idtype = p.cast(new Class[]{Integer.class});
public DriverTarget(long __address, Block __block, BlockTable __blockTable)
protected DriverTarget(DriverTarget that)
public CPointer<ID> getId() throws java.io.IOException
ID-block which owns the target, no user count.
java.io.IOException
__DNA__FIELD__id
public void setId(CPointer<ID> id) throws java.io.IOException
ID-block which owns the target, no user count.
java.io.IOException
__DNA__FIELD__id
public CPointer<java.lang.Byte> getRna_path() throws java.io.IOException
RNA path defining the setting to use (for DVAR_TYPE_SINGLE_PROP).
java.io.IOException
__DNA__FIELD__rna_path
public void setRna_path(CPointer<java.lang.Byte> rna_path) throws java.io.IOException
RNA path defining the setting to use (for DVAR_TYPE_SINGLE_PROP).
java.io.IOException
__DNA__FIELD__rna_path
public CArrayFacade<java.lang.Byte> getPchan_name() throws java.io.IOException
Name of the posebone to use (for vars where DTAR_FLAG_STRUCT_REF is used) - MAX_ID_NAME-2.
java.io.IOException
__DNA__FIELD__pchan_name
public void setPchan_name(CArrayFacade<java.lang.Byte> pchan_name) throws java.io.IOException
Name of the posebone to use (for vars where DTAR_FLAG_STRUCT_REF is used) - MAX_ID_NAME-2.
java.io.IOException
__DNA__FIELD__pchan_name
public short getTransChan() throws java.io.IOException
Transform channel index (for DVAR_TYPE_TRANSFORM_CHAN.)
java.io.IOException
__DNA__FIELD__transChan
public void setTransChan(short transChan) throws java.io.IOException
Transform channel index (for DVAR_TYPE_TRANSFORM_CHAN.)
java.io.IOException
__DNA__FIELD__transChan
public byte getRotation_mode() throws java.io.IOException
Rotation channel calculation type.
java.io.IOException
__DNA__FIELD__rotation_mode
public void setRotation_mode(byte rotation_mode) throws java.io.IOException
Rotation channel calculation type.
java.io.IOException
__DNA__FIELD__rotation_mode
public CArrayFacade<java.lang.Byte> get_pad() throws java.io.IOException
java.io.IOException
__DNA__FIELD___pad
public void set_pad(CArrayFacade<java.lang.Byte> _pad) throws java.io.IOException
java.io.IOException
__DNA__FIELD___pad
public short getFlag() throws java.io.IOException
Flags for the validity of the target (NOTE: these get reset every time the types change).
java.io.IOException
__DNA__FIELD__flag
public void setFlag(short flag) throws java.io.IOException
Flags for the validity of the target (NOTE: these get reset every time the types change).
java.io.IOException
__DNA__FIELD__flag
public int getIdtype() throws java.io.IOException
Type of ID-block that this target can use.
java.io.IOException
__DNA__FIELD__idtype
public void setIdtype(int idtype) throws java.io.IOException
Type of ID-block that this target can use.
java.io.IOException
__DNA__FIELD__idtype
public CPointer<DriverTarget> __io__addressof()