public class Key extends CFacade
Modifier and Type | Field and Description |
---|---|
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 long[] |
__DNA__FIELD__adt
Field descriptor (offset) for struct member 'adt'.
|
static long[] |
__DNA__FIELD__block
Field descriptor (offset) for struct member 'block'.
|
static long[] |
__DNA__FIELD__ctime
Field descriptor (offset) for struct member 'ctime'.
|
static long[] |
__DNA__FIELD__elemsize
Field descriptor (offset) for struct member 'elemsize'.
|
static long[] |
__DNA__FIELD__elemstr
Field descriptor (offset) for struct member 'elemstr'.
|
static long[] |
__DNA__FIELD__flag
Field descriptor (offset) for struct member 'flag'.
|
static long[] |
__DNA__FIELD__from
Field descriptor (offset) for struct member 'from'.
|
static long[] |
__DNA__FIELD__id
Field descriptor (offset) for struct member 'id'.
|
static long[] |
__DNA__FIELD__ipo
Deprecated.
Deprecated
Pointer ArithmeticsThis is how you get a reference on the corresponding field in the struct: Key key = ...; CPointer<Object> p = key.__dna__addressof(Key.__DNA__FIELD__ipo); CPointer<CPointer<Ipo>> p_ipo = p.cast(new Class[]{CPointer.class, Ipo.class}); Metadata
|
static long[] |
__DNA__FIELD__refkey
Field descriptor (offset) for struct member 'refkey'.
|
static long[] |
__DNA__FIELD__totkey
Field descriptor (offset) for struct member 'totkey'.
|
static long[] |
__DNA__FIELD__type
Field descriptor (offset) for struct member 'type'.
|
static long[] |
__DNA__FIELD__uidgen
Field descriptor (offset) for struct member 'uidgen'.
|
static int |
__DNA__SDNA_INDEX
This is the sdna index of the struct Key.
|
__io__address, __io__arch_index, __io__block, __io__blockTable, __io__pointersize
Modifier | Constructor and Description |
---|---|
protected |
Key(Key that) |
|
Key(long __address,
Block __block,
BlockTable __blockTable) |
Modifier and Type | Method and Description |
---|---|
CPointer<Key> |
__io__addressof()
Instantiates a pointer on this instance.
|
CArrayFacade<java.lang.Byte> |
get_pad()
Get method for struct member '_pad'.
|
byte |
get_pad2()
Get method for struct member '_pad2'.
|
CPointer<AnimData> |
getAdt()
Get method for struct member 'adt'.
|
ListBase |
getBlock()
Get method for struct member 'block'.
|
float |
getCtime()
Get method for struct member 'ctime'.
|
int |
getElemsize()
Get method for struct member 'elemsize'.
|
CArrayFacade<java.lang.Byte> |
getElemstr()
Get method for struct member 'elemstr'.
|
short |
getFlag()
Get method for struct member 'flag'.
|
CPointer<ID> |
getFrom()
Get method for struct member 'from'.
|
ID |
getId()
Get method for struct member 'id'.
|
CPointer<Ipo> |
getIpo()
Deprecated.
Deprecated
|
CPointer<KeyBlock> |
getRefkey()
Get method for struct member 'refkey'.
|
int |
getTotkey()
Get method for struct member 'totkey'.
|
byte |
getType()
Get method for struct member 'type'.
|
int |
getUidgen()
Get method for struct member 'uidgen'.
|
void |
set_pad(CArrayFacade<java.lang.Byte> _pad)
Set method for struct member '_pad'.
|
void |
set_pad2(byte _pad2)
Set method for struct member '_pad2'.
|
void |
setAdt(CPointer<AnimData> adt)
Set method for struct member 'adt'.
|
void |
setBlock(ListBase block)
Set method for struct member 'block'.
|
void |
setCtime(float ctime)
Set method for struct member 'ctime'.
|
void |
setElemsize(int elemsize)
Set method for struct member 'elemsize'.
|
void |
setElemstr(CArrayFacade<java.lang.Byte> elemstr)
Set method for struct member 'elemstr'.
|
void |
setFlag(short flag)
Set method for struct member 'flag'.
|
void |
setFrom(CPointer<ID> from)
Set method for struct member 'from'.
|
void |
setId(ID id)
Set method for struct member 'id'.
|
void |
setIpo(CPointer<Ipo> ipo)
Deprecated.
Deprecated
|
void |
setRefkey(CPointer<KeyBlock> refkey)
Set method for struct member 'refkey'.
|
void |
setTotkey(int totkey)
Set method for struct member 'totkey'.
|
void |
setType(byte type)
Set method for struct member 'type'.
|
void |
setUidgen(int uidgen)
Set method for struct member 'uidgen'.
|
__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 Key.
org.cakelab.blender.io.dna.internal.StructDNA}
,
org.cakelab.blender.io.block.BlockTable#allocate}
,
Constant Field Valuespublic static final long[] __DNA__FIELD__id
This is how you get a reference on the corresponding field in the struct:
Key key = ...; CPointer<Object> p = key.__dna__addressof(Key.__DNA__FIELD__id); CPointer<ID> p_id = p.cast(new Class[]{ID.class});
public static final long[] __DNA__FIELD__adt
Animation data (must be immediately after id for utilities to use it).
This is how you get a reference on the corresponding field in the struct:
Key key = ...; CPointer<Object> p = key.__dna__addressof(Key.__DNA__FIELD__adt); CPointer<CPointer<AnimData>> p_adt = p.cast(new Class[]{CPointer.class, AnimData.class});
public static final long[] __DNA__FIELD__refkey
'key->block.first', perhaps later on it could be defined as some other KeyBlock
- campbell
This is how you get a reference on the corresponding field in the struct:
Key key = ...; CPointer<Object> p = key.__dna__addressof(Key.__DNA__FIELD__refkey); CPointer<CPointer<KeyBlock>> p_refkey = p.cast(new Class[]{CPointer.class, KeyBlock.class});
public static final long[] __DNA__FIELD__elemstr
This is not a regular string, although it is \0 terminated this is an array of (element_array_size, element_type) pairs (each one char) used for calculating shape key-blocks.
This is how you get a reference on the corresponding field in the struct:
Key key = ...; CPointer<Object> p = key.__dna__addressof(Key.__DNA__FIELD__elemstr); CPointer<CArrayFacade<Byte>> p_elemstr = p.cast(new Class[]{CArrayFacade.class, Byte.class});
public static final long[] __DNA__FIELD__elemsize
Size of each element in KeyBlock.data
, use for allocation and stride.
This is how you get a reference on the corresponding field in the struct:
Key key = ...; CPointer<Object> p = key.__dna__addressof(Key.__DNA__FIELD__elemsize); CPointer<Integer> p_elemsize = p.cast(new Class[]{Integer.class});
public static final long[] __DNA__FIELD___pad
This is how you get a reference on the corresponding field in the struct:
Key key = ...; CPointer<Object> p = key.__dna__addressof(Key.__DNA__FIELD___pad); CPointer<CArrayFacade<Byte>> p__pad = p.cast(new Class[]{CArrayFacade.class, Byte.class});
public static final long[] __DNA__FIELD__block
list of KeyBlock
's
This is how you get a reference on the corresponding field in the struct:
Key key = ...; CPointer<Object> p = key.__dna__addressof(Key.__DNA__FIELD__block); CPointer<ListBase> p_block = p.cast(new Class[]{ListBase.class});
public static final long[] __DNA__FIELD__ipo
This is how you get a reference on the corresponding field in the struct:
Key key = ...; CPointer<Object> p = key.__dna__addressof(Key.__DNA__FIELD__ipo); CPointer<CPointer<Ipo>> p_ipo = p.cast(new Class[]{CPointer.class, Ipo.class});
old animation system, deprecated for 2.5
public static final long[] __DNA__FIELD__from
This is how you get a reference on the corresponding field in the struct:
Key key = ...; CPointer<Object> p = key.__dna__addressof(Key.__DNA__FIELD__from); CPointer<CPointer<ID>> p_from = p.cast(new Class[]{CPointer.class, ID.class});
public static final long[] __DNA__FIELD__totkey
(totkey == BLI_listbase_count(&key->block))
This is how you get a reference on the corresponding field in the struct:
Key key = ...; CPointer<Object> p = key.__dna__addressof(Key.__DNA__FIELD__totkey); CPointer<Integer> p_totkey = p.cast(new Class[]{Integer.class});
public static final long[] __DNA__FIELD__flag
This is how you get a reference on the corresponding field in the struct:
Key key = ...; CPointer<Object> p = key.__dna__addressof(Key.__DNA__FIELD__flag); CPointer<Short> p_flag = p.cast(new Class[]{Short.class});
public static final long[] __DNA__FIELD__type
absolute or relative shape key
This is how you get a reference on the corresponding field in the struct:
Key key = ...; CPointer<Object> p = key.__dna__addressof(Key.__DNA__FIELD__type); CPointer<Byte> p_type = 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:
Key key = ...; CPointer<Object> p = key.__dna__addressof(Key.__DNA__FIELD___pad2); CPointer<Byte> p__pad2 = p.cast(new Class[]{Byte.class});
public static final long[] __DNA__FIELD__ctime
Only used when (Key->type == KEY_NORMAL), this value is used as a time slider, rather then using the scenes time, this value can be animated to give greater control
This is how you get a reference on the corresponding field in the struct:
Key key = ...; CPointer<Object> p = key.__dna__addressof(Key.__DNA__FIELD__ctime); CPointer<Float> p_ctime = p.cast(new Class[]{Float.class});
public static final long[] __DNA__FIELD__uidgen
Can never be 0, this is used for detecting old data. current free uid for keyblocks
This is how you get a reference on the corresponding field in the struct:
Key key = ...; CPointer<Object> p = key.__dna__addressof(Key.__DNA__FIELD__uidgen); CPointer<Integer> p_uidgen = p.cast(new Class[]{Integer.class});
public Key(long __address, Block __block, BlockTable __blockTable)
protected Key(Key that)
public ID getId() throws java.io.IOException
java.io.IOException
__DNA__FIELD__id
public void setId(ID id) throws java.io.IOException
java.io.IOException
__DNA__FIELD__id
public CPointer<AnimData> getAdt() throws java.io.IOException
Animation data (must be immediately after id for utilities to use it).
java.io.IOException
__DNA__FIELD__adt
public void setAdt(CPointer<AnimData> adt) throws java.io.IOException
Animation data (must be immediately after id for utilities to use it).
java.io.IOException
__DNA__FIELD__adt
public CPointer<KeyBlock> getRefkey() throws java.io.IOException
'key->block.first', perhaps later on it could be defined as some other KeyBlock
- campbell
java.io.IOException
__DNA__FIELD__refkey
public void setRefkey(CPointer<KeyBlock> refkey) throws java.io.IOException
'key->block.first', perhaps later on it could be defined as some other KeyBlock
- campbell
java.io.IOException
__DNA__FIELD__refkey
public CArrayFacade<java.lang.Byte> getElemstr() throws java.io.IOException
This is not a regular string, although it is \0 terminated this is an array of (element_array_size, element_type) pairs (each one char) used for calculating shape key-blocks.
java.io.IOException
__DNA__FIELD__elemstr
public void setElemstr(CArrayFacade<java.lang.Byte> elemstr) throws java.io.IOException
This is not a regular string, although it is \0 terminated this is an array of (element_array_size, element_type) pairs (each one char) used for calculating shape key-blocks.
java.io.IOException
__DNA__FIELD__elemstr
public int getElemsize() throws java.io.IOException
Size of each element in KeyBlock.data
, use for allocation and stride.
java.io.IOException
__DNA__FIELD__elemsize
public void setElemsize(int elemsize) throws java.io.IOException
Size of each element in KeyBlock.data
, use for allocation and stride.
java.io.IOException
__DNA__FIELD__elemsize
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 ListBase getBlock() throws java.io.IOException
java.io.IOException
__DNA__FIELD__block
public void setBlock(ListBase block) throws java.io.IOException
java.io.IOException
__DNA__FIELD__block
public CPointer<Ipo> getIpo() throws java.io.IOException
old animation system, deprecated for 2.5
java.io.IOException
__DNA__FIELD__ipo
public void setIpo(CPointer<Ipo> ipo) throws java.io.IOException
old animation system, deprecated for 2.5
java.io.IOException
__DNA__FIELD__ipo
public CPointer<ID> getFrom() throws java.io.IOException
java.io.IOException
__DNA__FIELD__from
public void setFrom(CPointer<ID> from) throws java.io.IOException
java.io.IOException
__DNA__FIELD__from
public int getTotkey() throws java.io.IOException
(totkey == BLI_listbase_count(&key->block))
java.io.IOException
__DNA__FIELD__totkey
public void setTotkey(int totkey) throws java.io.IOException
(totkey == BLI_listbase_count(&key->block))
java.io.IOException
__DNA__FIELD__totkey
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 byte getType() throws java.io.IOException
absolute or relative shape key
java.io.IOException
__DNA__FIELD__type
public void setType(byte type) throws java.io.IOException
absolute or relative shape key
java.io.IOException
__DNA__FIELD__type
public byte get_pad2() throws java.io.IOException
java.io.IOException
__DNA__FIELD___pad2
public void set_pad2(byte _pad2) throws java.io.IOException
java.io.IOException
__DNA__FIELD___pad2
public float getCtime() throws java.io.IOException
Only used when (Key->type == KEY_NORMAL), this value is used as a time slider, rather then using the scenes time, this value can be animated to give greater control
java.io.IOException
__DNA__FIELD__ctime
public void setCtime(float ctime) throws java.io.IOException
Only used when (Key->type == KEY_NORMAL), this value is used as a time slider, rather then using the scenes time, this value can be animated to give greater control
java.io.IOException
__DNA__FIELD__ctime
public int getUidgen() throws java.io.IOException
Can never be 0, this is used for detecting old data. current free uid for keyblocks
java.io.IOException
__DNA__FIELD__uidgen
public void setUidgen(int uidgen) throws java.io.IOException
Can never be 0, this is used for detecting old data. current free uid for keyblocks
java.io.IOException
__DNA__FIELD__uidgen