public class AnimData extends CFacade
AnimData
----------------------------------- Animation data for some ID
block (adt)
This block of data is used to provide all of the necessary animation data for a datablock. Currently, this data will not be reusable, as there shouldn't be any need to do so.
This information should be made available for most if not all ID-blocks, which should enable all of its settings to be animatable locally. Animation from 'higher-up' ID-AnimData blocks may override local settings.
This datablock should be placed immediately after the ID
block where it is used, so that the code which retrieves this data can do so in an easier manner. See blenkernel/intern/anim_sys.c for details.
Modifier and Type | Field and Description |
---|---|
static long[] |
__DNA__FIELD___pad
Field descriptor (offset) for struct member '_pad'.
|
static long[] |
__DNA__FIELD__act_blendmode
Field descriptor (offset) for struct member 'act_blendmode'.
|
static long[] |
__DNA__FIELD__act_extendmode
Field descriptor (offset) for struct member 'act_extendmode'.
|
static long[] |
__DNA__FIELD__act_influence
Field descriptor (offset) for struct member 'act_influence'.
|
static long[] |
__DNA__FIELD__act_track
Field descriptor (offset) for struct member 'act_track'.
|
static long[] |
__DNA__FIELD__action
Field descriptor (offset) for struct member 'action'.
|
static long[] |
__DNA__FIELD__actstrip
Field descriptor (offset) for struct member 'actstrip'.
|
static long[] |
__DNA__FIELD__driver_array
Field descriptor (offset) for struct member 'driver_array'.
|
static long[] |
__DNA__FIELD__drivers
Field descriptor (offset) for struct member 'drivers'.
|
static long[] |
__DNA__FIELD__flag
Field descriptor (offset) for struct member 'flag'.
|
static long[] |
__DNA__FIELD__nla_tracks
Field descriptor (offset) for struct member 'nla_tracks'.
|
static long[] |
__DNA__FIELD__overrides
Field descriptor (offset) for struct member 'overrides'.
|
static long[] |
__DNA__FIELD__tmpact
Field descriptor (offset) for struct member 'tmpact'.
|
static int |
__DNA__SDNA_INDEX
This is the sdna index of the struct AnimData.
|
__io__address, __io__arch_index, __io__block, __io__blockTable, __io__pointersize
Modifier | Constructor and Description |
---|---|
protected |
AnimData(AnimData that) |
|
AnimData(long __address,
Block __block,
BlockTable __blockTable) |
Modifier and Type | Method and Description |
---|---|
CPointer<AnimData> |
__io__addressof()
Instantiates a pointer on this instance.
|
CArrayFacade<java.lang.Byte> |
get_pad()
Get method for struct member '_pad'.
|
short |
getAct_blendmode()
Get method for struct member 'act_blendmode'.
|
short |
getAct_extendmode()
Get method for struct member 'act_extendmode'.
|
float |
getAct_influence()
Get method for struct member 'act_influence'.
|
CPointer<NlaTrack> |
getAct_track()
Get method for struct member 'act_track'.
|
CPointer<bAction> |
getAction()
Get method for struct member 'action'.
|
CPointer<NlaStrip> |
getActstrip()
Get method for struct member 'actstrip'.
|
CPointer<CPointer<FCurve>> |
getDriver_array()
Get method for struct member 'driver_array'.
|
ListBase |
getDrivers()
Get method for struct member 'drivers'.
|
int |
getFlag()
Get method for struct member 'flag'.
|
ListBase |
getNla_tracks()
Get method for struct member 'nla_tracks'.
|
ListBase |
getOverrides()
Get method for struct member 'overrides'.
|
CPointer<bAction> |
getTmpact()
Get method for struct member 'tmpact'.
|
void |
set_pad(CArrayFacade<java.lang.Byte> _pad)
Set method for struct member '_pad'.
|
void |
setAct_blendmode(short act_blendmode)
Set method for struct member 'act_blendmode'.
|
void |
setAct_extendmode(short act_extendmode)
Set method for struct member 'act_extendmode'.
|
void |
setAct_influence(float act_influence)
Set method for struct member 'act_influence'.
|
void |
setAct_track(CPointer<NlaTrack> act_track)
Set method for struct member 'act_track'.
|
void |
setAction(CPointer<bAction> action)
Set method for struct member 'action'.
|
void |
setActstrip(CPointer<NlaStrip> actstrip)
Set method for struct member 'actstrip'.
|
void |
setDriver_array(CPointer<CPointer<FCurve>> driver_array)
Set method for struct member 'driver_array'.
|
void |
setDrivers(ListBase drivers)
Set method for struct member 'drivers'.
|
void |
setFlag(int flag)
Set method for struct member 'flag'.
|
void |
setNla_tracks(ListBase nla_tracks)
Set method for struct member 'nla_tracks'.
|
void |
setOverrides(ListBase overrides)
Set method for struct member 'overrides'.
|
void |
setTmpact(CPointer<bAction> tmpact)
Set method for struct member 'tmpact'.
|
__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 AnimData.
org.cakelab.blender.io.dna.internal.StructDNA}
,
org.cakelab.blender.io.block.BlockTable#allocate}
,
Constant Field Valuespublic static final long[] __DNA__FIELD__action
active action - acts as the 'tweaking track' for the NLA
This is how you get a reference on the corresponding field in the struct:
AnimData animdata = ...; CPointer<Object> p = animdata.__dna__addressof(AnimData.__DNA__FIELD__action); CPointer<CPointer<bAction>> p_action = p.cast(new Class[]{CPointer.class, bAction.class});
public static final long[] __DNA__FIELD__tmpact
temp-storage for the 'real' active action (i.e. the one used before the tweaking-action took over to be edited in the Animation Editors)
This is how you get a reference on the corresponding field in the struct:
AnimData animdata = ...; CPointer<Object> p = animdata.__dna__addressof(AnimData.__DNA__FIELD__tmpact); CPointer<CPointer<bAction>> p_tmpact = p.cast(new Class[]{CPointer.class, bAction.class});
public static final long[] __DNA__FIELD__nla_tracks
nla-tracks
This is how you get a reference on the corresponding field in the struct:
AnimData animdata = ...; CPointer<Object> p = animdata.__dna__addressof(AnimData.__DNA__FIELD__nla_tracks); CPointer<ListBase> p_nla_tracks = p.cast(new Class[]{ListBase.class});
public static final long[] __DNA__FIELD__act_track
Active NLA-track (only set/used during tweaking, so no need to worry about dangling pointers).
This is how you get a reference on the corresponding field in the struct:
AnimData animdata = ...; CPointer<Object> p = animdata.__dna__addressof(AnimData.__DNA__FIELD__act_track); CPointer<CPointer<NlaTrack>> p_act_track = p.cast(new Class[]{CPointer.class, NlaTrack.class});
public static final long[] __DNA__FIELD__actstrip
Active NLA-strip (only set/used during tweaking, so no need to worry about dangling pointers).
This is how you get a reference on the corresponding field in the struct:
AnimData animdata = ...; CPointer<Object> p = animdata.__dna__addressof(AnimData.__DNA__FIELD__actstrip); CPointer<CPointer<NlaStrip>> p_actstrip = p.cast(new Class[]{CPointer.class, NlaStrip.class});
public static final long[] __DNA__FIELD__drivers
'drivers' for this ID-block's settings - FCurves, but are completely separate from those for animation dataStandard user-created Drivers/Expressions (used as part of a rig).
This is how you get a reference on the corresponding field in the struct:
AnimData animdata = ...; CPointer<Object> p = animdata.__dna__addressof(AnimData.__DNA__FIELD__drivers); CPointer<ListBase> p_drivers = p.cast(new Class[]{ListBase.class});
public static final long[] __DNA__FIELD__overrides
Temp storage (AnimOverride
) of values for settings that are animated (but the value hasn't been keyframed).
This is how you get a reference on the corresponding field in the struct:
AnimData animdata = ...; CPointer<Object> p = animdata.__dna__addressof(AnimData.__DNA__FIELD__overrides); CPointer<ListBase> p_overrides = p.cast(new Class[]{ListBase.class});
public static final long[] __DNA__FIELD__driver_array
Runtime data, for depsgraph evaluation.
This is how you get a reference on the corresponding field in the struct:
AnimData animdata = ...; CPointer<Object> p = animdata.__dna__addressof(AnimData.__DNA__FIELD__driver_array); CPointer<CPointer<CPointer<FCurve>>> p_driver_array = p.cast(new Class[]{CPointer.class, CPointer.class, FCurve.class});
public static final long[] __DNA__FIELD__flag
settings for animation evaluation User-defined settings.
This is how you get a reference on the corresponding field in the struct:
AnimData animdata = ...; CPointer<Object> p = animdata.__dna__addressof(AnimData.__DNA__FIELD__flag); CPointer<Integer> p_flag = 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:
AnimData animdata = ...; CPointer<Object> p = animdata.__dna__addressof(AnimData.__DNA__FIELD___pad); CPointer<CArrayFacade<Byte>> p__pad = p.cast(new Class[]{CArrayFacade.class, Byte.class});
public static final long[] __DNA__FIELD__act_blendmode
settings for active action evaluation (based on NLA strip settings) Accumulation mode for active action.
This is how you get a reference on the corresponding field in the struct:
AnimData animdata = ...; CPointer<Object> p = animdata.__dna__addressof(AnimData.__DNA__FIELD__act_blendmode); CPointer<Short> p_act_blendmode = p.cast(new Class[]{Short.class});
public static final long[] __DNA__FIELD__act_extendmode
Extrapolation mode for active action.
This is how you get a reference on the corresponding field in the struct:
AnimData animdata = ...; CPointer<Object> p = animdata.__dna__addressof(AnimData.__DNA__FIELD__act_extendmode); CPointer<Short> p_act_extendmode = p.cast(new Class[]{Short.class});
public static final long[] __DNA__FIELD__act_influence
Influence for active action.
This is how you get a reference on the corresponding field in the struct:
AnimData animdata = ...; CPointer<Object> p = animdata.__dna__addressof(AnimData.__DNA__FIELD__act_influence); CPointer<Float> p_act_influence = p.cast(new Class[]{Float.class});
public AnimData(long __address, Block __block, BlockTable __blockTable)
protected AnimData(AnimData that)
public CPointer<bAction> getAction() throws java.io.IOException
active action - acts as the 'tweaking track' for the NLA
java.io.IOException
__DNA__FIELD__action
public void setAction(CPointer<bAction> action) throws java.io.IOException
active action - acts as the 'tweaking track' for the NLA
java.io.IOException
__DNA__FIELD__action
public CPointer<bAction> getTmpact() throws java.io.IOException
temp-storage for the 'real' active action (i.e. the one used before the tweaking-action took over to be edited in the Animation Editors)
java.io.IOException
__DNA__FIELD__tmpact
public void setTmpact(CPointer<bAction> tmpact) throws java.io.IOException
temp-storage for the 'real' active action (i.e. the one used before the tweaking-action took over to be edited in the Animation Editors)
java.io.IOException
__DNA__FIELD__tmpact
public ListBase getNla_tracks() throws java.io.IOException
nla-tracks
java.io.IOException
__DNA__FIELD__nla_tracks
public void setNla_tracks(ListBase nla_tracks) throws java.io.IOException
nla-tracks
java.io.IOException
__DNA__FIELD__nla_tracks
public CPointer<NlaTrack> getAct_track() throws java.io.IOException
Active NLA-track (only set/used during tweaking, so no need to worry about dangling pointers).
java.io.IOException
__DNA__FIELD__act_track
public void setAct_track(CPointer<NlaTrack> act_track) throws java.io.IOException
Active NLA-track (only set/used during tweaking, so no need to worry about dangling pointers).
java.io.IOException
__DNA__FIELD__act_track
public CPointer<NlaStrip> getActstrip() throws java.io.IOException
Active NLA-strip (only set/used during tweaking, so no need to worry about dangling pointers).
java.io.IOException
__DNA__FIELD__actstrip
public void setActstrip(CPointer<NlaStrip> actstrip) throws java.io.IOException
Active NLA-strip (only set/used during tweaking, so no need to worry about dangling pointers).
java.io.IOException
__DNA__FIELD__actstrip
public ListBase getDrivers() throws java.io.IOException
'drivers' for this ID-block's settings - FCurves, but are completely separate from those for animation dataStandard user-created Drivers/Expressions (used as part of a rig).
java.io.IOException
__DNA__FIELD__drivers
public void setDrivers(ListBase drivers) throws java.io.IOException
'drivers' for this ID-block's settings - FCurves, but are completely separate from those for animation dataStandard user-created Drivers/Expressions (used as part of a rig).
java.io.IOException
__DNA__FIELD__drivers
public ListBase getOverrides() throws java.io.IOException
Temp storage (AnimOverride
) of values for settings that are animated (but the value hasn't been keyframed).
java.io.IOException
__DNA__FIELD__overrides
public void setOverrides(ListBase overrides) throws java.io.IOException
Temp storage (AnimOverride
) of values for settings that are animated (but the value hasn't been keyframed).
java.io.IOException
__DNA__FIELD__overrides
public CPointer<CPointer<FCurve>> getDriver_array() throws java.io.IOException
Runtime data, for depsgraph evaluation.
java.io.IOException
__DNA__FIELD__driver_array
public void setDriver_array(CPointer<CPointer<FCurve>> driver_array) throws java.io.IOException
Runtime data, for depsgraph evaluation.
java.io.IOException
__DNA__FIELD__driver_array
public int getFlag() throws java.io.IOException
settings for animation evaluation User-defined settings.
java.io.IOException
__DNA__FIELD__flag
public void setFlag(int flag) throws java.io.IOException
settings for animation evaluation User-defined settings.
java.io.IOException
__DNA__FIELD__flag
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 getAct_blendmode() throws java.io.IOException
settings for active action evaluation (based on NLA strip settings) Accumulation mode for active action.
java.io.IOException
__DNA__FIELD__act_blendmode
public void setAct_blendmode(short act_blendmode) throws java.io.IOException
settings for active action evaluation (based on NLA strip settings) Accumulation mode for active action.
java.io.IOException
__DNA__FIELD__act_blendmode
public short getAct_extendmode() throws java.io.IOException
Extrapolation mode for active action.
java.io.IOException
__DNA__FIELD__act_extendmode
public void setAct_extendmode(short act_extendmode) throws java.io.IOException
Extrapolation mode for active action.
java.io.IOException
__DNA__FIELD__act_extendmode
public float getAct_influence() throws java.io.IOException
Influence for active action.
java.io.IOException
__DNA__FIELD__act_influence
public void setAct_influence(float act_influence) throws java.io.IOException
Influence for active action.
java.io.IOException
__DNA__FIELD__act_influence