public class AnimMapper extends CFacade
FIXME: will this be too clumsy or slow? If we're using RNA paths anyway, we'll have to accept such consequences...
Retargetting Information for Actions
This should only be used if it is strictly necessary (i.e. user will need to explicitly add this when they find that some channels do not match, or motion is not going to right places). When executing an action, this will be checked to see if it provides any useful remaps for the given paths.
NOTE: we currently don't store this in the Action itself, as that causes too many problems.
Modifier and Type | Field and Description |
---|---|
static long[] |
__DNA__FIELD__mappings
Field descriptor (offset) for struct member 'mappings'.
|
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__target
Field descriptor (offset) for struct member 'target'.
|
static int |
__DNA__SDNA_INDEX
This is the sdna index of the struct AnimMapper.
|
__io__address, __io__arch_index, __io__block, __io__blockTable, __io__pointersize
Modifier | Constructor and Description |
---|---|
protected |
AnimMapper(AnimMapper that) |
|
AnimMapper(long __address,
Block __block,
BlockTable __blockTable) |
Modifier and Type | Method and Description |
---|---|
CPointer<AnimMapper> |
__io__addressof()
Instantiates a pointer on this instance.
|
ListBase |
getMappings()
Get method for struct member 'mappings'.
|
CPointer<AnimMapper> |
getNext()
Get method for struct member 'next'.
|
CPointer<AnimMapper> |
getPrev()
Get method for struct member 'prev'.
|
CPointer<bAction> |
getTarget()
Get method for struct member 'target'.
|
void |
setMappings(ListBase mappings)
Set method for struct member 'mappings'.
|
void |
setNext(CPointer<AnimMapper> next)
Set method for struct member 'next'.
|
void |
setPrev(CPointer<AnimMapper> prev)
Set method for struct member 'prev'.
|
void |
setTarget(CPointer<bAction> target)
Set method for struct member 'target'.
|
__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 AnimMapper.
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:
AnimMapper animmapper = ...; CPointer<Object> p = animmapper.__dna__addressof(AnimMapper.__DNA__FIELD__next); CPointer<CPointer<AnimMapper>> p_next = p.cast(new Class[]{CPointer.class, AnimMapper.class});
public static final long[] __DNA__FIELD__prev
This is how you get a reference on the corresponding field in the struct:
AnimMapper animmapper = ...; CPointer<Object> p = animmapper.__dna__addressof(AnimMapper.__DNA__FIELD__prev); CPointer<CPointer<AnimMapper>> p_prev = p.cast(new Class[]{CPointer.class, AnimMapper.class});
public static final long[] __DNA__FIELD__target
target action
This is how you get a reference on the corresponding field in the struct:
AnimMapper animmapper = ...; CPointer<Object> p = animmapper.__dna__addressof(AnimMapper.__DNA__FIELD__target); CPointer<CPointer<bAction>> p_target = p.cast(new Class[]{CPointer.class, bAction.class});
public static final long[] __DNA__FIELD__mappings
remapping table (bAnimMapPair)
This is how you get a reference on the corresponding field in the struct:
AnimMapper animmapper = ...; CPointer<Object> p = animmapper.__dna__addressof(AnimMapper.__DNA__FIELD__mappings); CPointer<ListBase> p_mappings = p.cast(new Class[]{ListBase.class});
public AnimMapper(long __address, Block __block, BlockTable __blockTable)
protected AnimMapper(AnimMapper that)
public CPointer<AnimMapper> getNext() throws java.io.IOException
java.io.IOException
__DNA__FIELD__next
public void setNext(CPointer<AnimMapper> next) throws java.io.IOException
java.io.IOException
__DNA__FIELD__next
public CPointer<AnimMapper> getPrev() throws java.io.IOException
java.io.IOException
__DNA__FIELD__prev
public void setPrev(CPointer<AnimMapper> prev) throws java.io.IOException
java.io.IOException
__DNA__FIELD__prev
public CPointer<bAction> getTarget() throws java.io.IOException
target action
java.io.IOException
__DNA__FIELD__target
public void setTarget(CPointer<bAction> target) throws java.io.IOException
target action
java.io.IOException
__DNA__FIELD__target
public ListBase getMappings() throws java.io.IOException
remapping table (bAnimMapPair)
java.io.IOException
__DNA__FIELD__mappings
public void setMappings(ListBase mappings) throws java.io.IOException
remapping table (bAnimMapPair)
java.io.IOException
__DNA__FIELD__mappings
public CPointer<AnimMapper> __io__addressof()