public class bAction extends CFacade
Actions -----------------------------------
This contains F-Curves that may affect settings from more than one ID
blocktype and/or datablock (i.e. sub-data linked/used directly to the ID
block that the animation data is linked to), but with the restriction that the other unrelated data (i.e. data that is not directly used or linked to by the source ID
block).
It serves as a 'unit' of reusable animation information (i.e. keyframes/motion data), that affects a group of related settings (as defined by the user).
Modifier and Type | Field and Description |
---|---|
static long[] |
__DNA__FIELD___pad
Field descriptor (offset) for struct member '_pad'.
|
static long[] |
__DNA__FIELD__active_marker
Field descriptor (offset) for struct member 'active_marker'.
|
static long[] |
__DNA__FIELD__chanbase
Deprecated.
Deprecated
Pointer ArithmeticsThis is how you get a reference on the corresponding field in the struct: bAction baction = ...; CPointer<Object> p = baction.__dna__addressof(bAction.__DNA__FIELD__chanbase); CPointer<ListBase> p_chanbase = p.cast(new Class[]{ListBase.class}); Metadata
|
static long[] |
__DNA__FIELD__curves
Field descriptor (offset) for struct member 'curves'.
|
static long[] |
__DNA__FIELD__flag
Field descriptor (offset) for struct member 'flag'.
|
static long[] |
__DNA__FIELD__groups
Field descriptor (offset) for struct member 'groups'.
|
static long[] |
__DNA__FIELD__id
Field descriptor (offset) for struct member 'id'.
|
static long[] |
__DNA__FIELD__idroot
Field descriptor (offset) for struct member 'idroot'.
|
static long[] |
__DNA__FIELD__markers
Field descriptor (offset) for struct member 'markers'.
|
static long[] |
__DNA__FIELD__preview
Field descriptor (offset) for struct member 'preview'.
|
static int |
__DNA__SDNA_INDEX
This is the sdna index of the struct bAction.
|
__io__address, __io__arch_index, __io__block, __io__blockTable, __io__pointersize
Modifier | Constructor and Description |
---|---|
protected |
bAction(bAction that) |
|
bAction(long __address,
Block __block,
BlockTable __blockTable) |
Modifier and Type | Method and Description |
---|---|
CPointer<bAction> |
__io__addressof()
Instantiates a pointer on this instance.
|
CArrayFacade<java.lang.Byte> |
get_pad()
Get method for struct member '_pad'.
|
int |
getActive_marker()
Get method for struct member 'active_marker'.
|
ListBase |
getChanbase()
Deprecated.
Deprecated
|
ListBase |
getCurves()
Get method for struct member 'curves'.
|
int |
getFlag()
Get method for struct member 'flag'.
|
ListBase |
getGroups()
Get method for struct member 'groups'.
|
ID |
getId()
Get method for struct member 'id'.
|
int |
getIdroot()
Get method for struct member 'idroot'.
|
ListBase |
getMarkers()
Get method for struct member 'markers'.
|
CPointer<PreviewImage> |
getPreview()
Get method for struct member 'preview'.
|
void |
set_pad(CArrayFacade<java.lang.Byte> _pad)
Set method for struct member '_pad'.
|
void |
setActive_marker(int active_marker)
Set method for struct member 'active_marker'.
|
void |
setChanbase(ListBase chanbase)
Deprecated.
Deprecated
|
void |
setCurves(ListBase curves)
Set method for struct member 'curves'.
|
void |
setFlag(int flag)
Set method for struct member 'flag'.
|
void |
setGroups(ListBase groups)
Set method for struct member 'groups'.
|
void |
setId(ID id)
Set method for struct member 'id'.
|
void |
setIdroot(int idroot)
Set method for struct member 'idroot'.
|
void |
setMarkers(ListBase markers)
Set method for struct member 'markers'.
|
void |
setPreview(CPointer<PreviewImage> preview)
Set method for struct member 'preview'.
|
__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 bAction.
org.cakelab.blender.io.dna.internal.StructDNA}
,
org.cakelab.blender.io.block.BlockTable#allocate}
,
Constant Field Valuespublic static final long[] __DNA__FIELD__id
-serialization for relinking.
This is how you get a reference on the corresponding field in the struct:
bAction baction = ...; CPointer<Object> p = baction.__dna__addressof(bAction.__DNA__FIELD__id); CPointer<ID> p_id = p.cast(new Class[]{ID.class});
public static final long[] __DNA__FIELD__curves
Function-curves (FCurve
).
This is how you get a reference on the corresponding field in the struct:
bAction baction = ...; CPointer<Object> p = baction.__dna__addressof(bAction.__DNA__FIELD__curves); CPointer<ListBase> p_curves = p.cast(new Class[]{ListBase.class});
public static final long[] __DNA__FIELD__chanbase
This is how you get a reference on the corresponding field in the struct:
bAction baction = ...; CPointer<Object> p = baction.__dna__addressof(bAction.__DNA__FIELD__chanbase); CPointer<ListBase> p_chanbase = p.cast(new Class[]{ListBase.class});
Legacy data - Action Channels (bActionChannel
) in pre-2.5 animation system.
public static final long[] __DNA__FIELD__groups
Groups of function-curves (bActionGroup
).
This is how you get a reference on the corresponding field in the struct:
bAction baction = ...; CPointer<Object> p = baction.__dna__addressof(bAction.__DNA__FIELD__groups); CPointer<ListBase> p_groups = p.cast(new Class[]{ListBase.class});
public static final long[] __DNA__FIELD__markers
Markers local to the Action (used to provide Pose-Libraries).
This is how you get a reference on the corresponding field in the struct:
bAction baction = ...; CPointer<Object> p = baction.__dna__addressof(bAction.__DNA__FIELD__markers); CPointer<ListBase> p_markers = p.cast(new Class[]{ListBase.class});
public static final long[] __DNA__FIELD__flag
Settings for this action.
This is how you get a reference on the corresponding field in the struct:
bAction baction = ...; CPointer<Object> p = baction.__dna__addressof(bAction.__DNA__FIELD__flag); CPointer<Integer> p_flag = p.cast(new Class[]{Integer.class});
public static final long[] __DNA__FIELD__active_marker
Index of the active marker.
This is how you get a reference on the corresponding field in the struct:
bAction baction = ...; CPointer<Object> p = baction.__dna__addressof(bAction.__DNA__FIELD__active_marker); CPointer<Integer> p_active_marker = p.cast(new Class[]{Integer.class});
public static final long[] __DNA__FIELD__idroot
Type of ID-blocks that action can be assigned to (if 0, will be set to whatever ID
first evaluates it).
This is how you get a reference on the corresponding field in the struct:
bAction baction = ...; CPointer<Object> p = baction.__dna__addressof(bAction.__DNA__FIELD__idroot); CPointer<Integer> p_idroot = 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:
bAction baction = ...; CPointer<Object> p = baction.__dna__addressof(bAction.__DNA__FIELD___pad); CPointer<CArrayFacade<Byte>> p__pad = p.cast(new Class[]{CArrayFacade.class, Byte.class});
public static final long[] __DNA__FIELD__preview
This is how you get a reference on the corresponding field in the struct:
bAction baction = ...; CPointer<Object> p = baction.__dna__addressof(bAction.__DNA__FIELD__preview); CPointer<CPointer<PreviewImage>> p_preview = p.cast(new Class[]{CPointer.class, PreviewImage.class});
public bAction(long __address, Block __block, BlockTable __blockTable)
protected bAction(bAction that)
public ID getId() throws java.io.IOException
-serialization for relinking.
java.io.IOException
__DNA__FIELD__id
public void setId(ID id) throws java.io.IOException
-serialization for relinking.
java.io.IOException
__DNA__FIELD__id
public ListBase getCurves() throws java.io.IOException
Function-curves (FCurve
).
java.io.IOException
__DNA__FIELD__curves
public void setCurves(ListBase curves) throws java.io.IOException
Function-curves (FCurve
).
java.io.IOException
__DNA__FIELD__curves
public ListBase getChanbase() throws java.io.IOException
Legacy data - Action Channels (bActionChannel
) in pre-2.5 animation system.
java.io.IOException
__DNA__FIELD__chanbase
public void setChanbase(ListBase chanbase) throws java.io.IOException
Legacy data - Action Channels (bActionChannel
) in pre-2.5 animation system.
java.io.IOException
__DNA__FIELD__chanbase
public ListBase getGroups() throws java.io.IOException
Groups of function-curves (bActionGroup
).
java.io.IOException
__DNA__FIELD__groups
public void setGroups(ListBase groups) throws java.io.IOException
Groups of function-curves (bActionGroup
).
java.io.IOException
__DNA__FIELD__groups
public ListBase getMarkers() throws java.io.IOException
Markers local to the Action (used to provide Pose-Libraries).
java.io.IOException
__DNA__FIELD__markers
public void setMarkers(ListBase markers) throws java.io.IOException
Markers local to the Action (used to provide Pose-Libraries).
java.io.IOException
__DNA__FIELD__markers
public int getFlag() throws java.io.IOException
Settings for this action.
java.io.IOException
__DNA__FIELD__flag
public void setFlag(int flag) throws java.io.IOException
Settings for this action.
java.io.IOException
__DNA__FIELD__flag
public int getActive_marker() throws java.io.IOException
Index of the active marker.
java.io.IOException
__DNA__FIELD__active_marker
public void setActive_marker(int active_marker) throws java.io.IOException
Index of the active marker.
java.io.IOException
__DNA__FIELD__active_marker
public int getIdroot() throws java.io.IOException
Type of ID-blocks that action can be assigned to (if 0, will be set to whatever ID
first evaluates it).
java.io.IOException
__DNA__FIELD__idroot
public void setIdroot(int idroot) throws java.io.IOException
Type of ID-blocks that action can be assigned to (if 0, will be set to whatever ID
first evaluates it).
java.io.IOException
__DNA__FIELD__idroot
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 CPointer<PreviewImage> getPreview() throws java.io.IOException
java.io.IOException
__DNA__FIELD__preview
public void setPreview(CPointer<PreviewImage> preview) throws java.io.IOException
java.io.IOException
__DNA__FIELD__preview