public class AnimOverride extends CFacade
AnimOverride
----------------------------------- Animation Override (aor)This is used to as temporary storage of values which have been changed by the user, but not yet keyframed (thus, would get overwritten by the animation system before the user had a chance to see the changes that were made).
It is probably not needed for overriding keyframed values in most cases, as those will only get evaluated on frame-change now. That situation may change in future.
Modifier and Type | Field and Description |
---|---|
static long[] |
__DNA__FIELD__array_index
Field descriptor (offset) for struct member 'array_index'.
|
static long[] |
__DNA__FIELD__next
Field descriptor (offset) for struct member 'next'.
|
static long[] |
__DNA__FIELD__prev
Field descriptor (offset) for struct member 'prev'.
|
static long[] |
__DNA__FIELD__rna_path
Field descriptor (offset) for struct member 'rna_path'.
|
static long[] |
__DNA__FIELD__value
Field descriptor (offset) for struct member 'value'.
|
static int |
__DNA__SDNA_INDEX
This is the sdna index of the struct AnimOverride.
|
__io__address, __io__arch_index, __io__block, __io__blockTable, __io__pointersize
Modifier | Constructor and Description |
---|---|
protected |
AnimOverride(AnimOverride that) |
|
AnimOverride(long __address,
Block __block,
BlockTable __blockTable) |
Modifier and Type | Method and Description |
---|---|
CPointer<AnimOverride> |
__io__addressof()
Instantiates a pointer on this instance.
|
int |
getArray_index()
Get method for struct member 'array_index'.
|
CPointer<AnimOverride> |
getNext()
Get method for struct member 'next'.
|
CPointer<AnimOverride> |
getPrev()
Get method for struct member 'prev'.
|
CPointer<java.lang.Byte> |
getRna_path()
Get method for struct member 'rna_path'.
|
float |
getValue()
Get method for struct member 'value'.
|
void |
setArray_index(int array_index)
Set method for struct member 'array_index'.
|
void |
setNext(CPointer<AnimOverride> next)
Set method for struct member 'next'.
|
void |
setPrev(CPointer<AnimOverride> prev)
Set method for struct member 'prev'.
|
void |
setRna_path(CPointer<java.lang.Byte> rna_path)
Set method for struct member 'rna_path'.
|
void |
setValue(float value)
Set method for struct member 'value'.
|
__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 AnimOverride.
org.cakelab.blender.io.dna.internal.StructDNA}
,
org.cakelab.blender.io.block.BlockTable#allocate}
,
Constant Field Valuespublic static final long[] __DNA__FIELD__next
This is how you get a reference on the corresponding field in the struct:
AnimOverride animoverride = ...; CPointer<Object> p = animoverride.__dna__addressof(AnimOverride.__DNA__FIELD__next); CPointer<CPointer<AnimOverride>> p_next = p.cast(new Class[]{CPointer.class, AnimOverride.class});
public static final long[] __DNA__FIELD__prev
This is how you get a reference on the corresponding field in the struct:
AnimOverride animoverride = ...; CPointer<Object> p = animoverride.__dna__addressof(AnimOverride.__DNA__FIELD__prev); CPointer<CPointer<AnimOverride>> p_prev = p.cast(new Class[]{CPointer.class, AnimOverride.class});
public static final long[] __DNA__FIELD__rna_path
RNA-path to use to resolve data-access
This is how you get a reference on the corresponding field in the struct:
AnimOverride animoverride = ...; CPointer<Object> p = animoverride.__dna__addressof(AnimOverride.__DNA__FIELD__rna_path); CPointer<CPointer<Byte>> p_rna_path = p.cast(new Class[]{CPointer.class, Byte.class});
public static final long[] __DNA__FIELD__array_index
if applicable, the index of the RNA-array item to get
This is how you get a reference on the corresponding field in the struct:
AnimOverride animoverride = ...; CPointer<Object> p = animoverride.__dna__addressof(AnimOverride.__DNA__FIELD__array_index); CPointer<Integer> p_array_index = p.cast(new Class[]{Integer.class});
public static final long[] __DNA__FIELD__value
value to override setting with
This is how you get a reference on the corresponding field in the struct:
AnimOverride animoverride = ...; CPointer<Object> p = animoverride.__dna__addressof(AnimOverride.__DNA__FIELD__value); CPointer<Float> p_value = p.cast(new Class[]{Float.class});
public AnimOverride(long __address, Block __block, BlockTable __blockTable)
protected AnimOverride(AnimOverride that)
public CPointer<AnimOverride> getNext() throws java.io.IOException
java.io.IOException
__DNA__FIELD__next
public void setNext(CPointer<AnimOverride> next) throws java.io.IOException
java.io.IOException
__DNA__FIELD__next
public CPointer<AnimOverride> getPrev() throws java.io.IOException
java.io.IOException
__DNA__FIELD__prev
public void setPrev(CPointer<AnimOverride> prev) throws java.io.IOException
java.io.IOException
__DNA__FIELD__prev
public CPointer<java.lang.Byte> getRna_path() throws java.io.IOException
RNA-path to use to resolve data-access
java.io.IOException
__DNA__FIELD__rna_path
public void setRna_path(CPointer<java.lang.Byte> rna_path) throws java.io.IOException
RNA-path to use to resolve data-access
java.io.IOException
__DNA__FIELD__rna_path
public int getArray_index() throws java.io.IOException
if applicable, the index of the RNA-array item to get
java.io.IOException
__DNA__FIELD__array_index
public void setArray_index(int array_index) throws java.io.IOException
if applicable, the index of the RNA-array item to get
java.io.IOException
__DNA__FIELD__array_index
public float getValue() throws java.io.IOException
value to override setting with
java.io.IOException
__DNA__FIELD__value
public void setValue(float value) throws java.io.IOException
value to override setting with
java.io.IOException
__DNA__FIELD__value
public CPointer<AnimOverride> __io__addressof()