public class bActionGroup extends CFacade
These are stored as a list per-Action, and are only used to group that Action's channels in an Animation Editor.
Even though all FCurves live in a big list per Action, each group they are in also holds references to the achans within that list which belong to it. Care must be taken to ensure that action-groups never end up being the sole 'owner' of a channel.
This is also exploited for bone-groups. Bone-Groups are stored per bPose
, and are used primarily to color bones in the 3d-view. There are other benefits too, but those are mostly related to Action-Groups.
Note that these two uses each have their own RNA 'ActionGroup' and 'BoneGroup'.
Modifier and Type | Field and Description |
---|---|
static long[] |
__DNA__FIELD__channels
Field descriptor (offset) for struct member 'channels'.
|
static long[] |
__DNA__FIELD__cs
Field descriptor (offset) for struct member 'cs'.
|
static long[] |
__DNA__FIELD__customCol
Field descriptor (offset) for struct member 'customCol'.
|
static long[] |
__DNA__FIELD__flag
Field descriptor (offset) for struct member 'flag'.
|
static long[] |
__DNA__FIELD__name
Field descriptor (offset) for struct member 'name'.
|
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 int |
__DNA__SDNA_INDEX
This is the sdna index of the struct bActionGroup.
|
__io__address, __io__arch_index, __io__block, __io__blockTable, __io__pointersize
Modifier | Constructor and Description |
---|---|
protected |
bActionGroup(bActionGroup that) |
|
bActionGroup(long __address,
Block __block,
BlockTable __blockTable) |
Modifier and Type | Method and Description |
---|---|
CPointer<bActionGroup> |
__io__addressof()
Instantiates a pointer on this instance.
|
ListBase |
getChannels()
Get method for struct member 'channels'.
|
ThemeWireColor |
getCs()
Get method for struct member 'cs'.
|
int |
getCustomCol()
Get method for struct member 'customCol'.
|
int |
getFlag()
Get method for struct member 'flag'.
|
CArrayFacade<java.lang.Byte> |
getName()
Get method for struct member 'name'.
|
CPointer<bActionGroup> |
getNext()
Get method for struct member 'next'.
|
CPointer<bActionGroup> |
getPrev()
Get method for struct member 'prev'.
|
void |
setChannels(ListBase channels)
Set method for struct member 'channels'.
|
void |
setCs(ThemeWireColor cs)
Set method for struct member 'cs'.
|
void |
setCustomCol(int customCol)
Set method for struct member 'customCol'.
|
void |
setFlag(int flag)
Set method for struct member 'flag'.
|
void |
setName(CArrayFacade<java.lang.Byte> name)
Set method for struct member 'name'.
|
void |
setNext(CPointer<bActionGroup> next)
Set method for struct member 'next'.
|
void |
setPrev(CPointer<bActionGroup> prev)
Set method for struct member 'prev'.
|
__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 bActionGroup.
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:
bActionGroup bactiongroup = ...; CPointer<Object> p = bactiongroup.__dna__addressof(bActionGroup.__DNA__FIELD__next); CPointer<CPointer<bActionGroup>> p_next = p.cast(new Class[]{CPointer.class, bActionGroup.class});
public static final long[] __DNA__FIELD__prev
This is how you get a reference on the corresponding field in the struct:
bActionGroup bactiongroup = ...; CPointer<Object> p = bactiongroup.__dna__addressof(bActionGroup.__DNA__FIELD__prev); CPointer<CPointer<bActionGroup>> p_prev = p.cast(new Class[]{CPointer.class, bActionGroup.class});
public static final long[] __DNA__FIELD__channels
Note: this must not be touched by standard listbase functions which would clear links to other channels.
This is how you get a reference on the corresponding field in the struct:
bActionGroup bactiongroup = ...; CPointer<Object> p = bactiongroup.__dna__addressof(bActionGroup.__DNA__FIELD__channels); CPointer<ListBase> p_channels = p.cast(new Class[]{ListBase.class});
public static final long[] __DNA__FIELD__flag
Settings for this action-group.
This is how you get a reference on the corresponding field in the struct:
bActionGroup bactiongroup = ...; CPointer<Object> p = bactiongroup.__dna__addressof(bActionGroup.__DNA__FIELD__flag); CPointer<Integer> p_flag = p.cast(new Class[]{Integer.class});
public static final long[] __DNA__FIELD__customCol
Index of custom color set to use when used for bones (0=default - used for all old files, -1=custom set).
This is how you get a reference on the corresponding field in the struct:
bActionGroup bactiongroup = ...; CPointer<Object> p = bactiongroup.__dna__addressof(bActionGroup.__DNA__FIELD__customCol); CPointer<Integer> p_customCol = p.cast(new Class[]{Integer.class});
public static final long[] __DNA__FIELD__name
Name of the group.
This is how you get a reference on the corresponding field in the struct:
bActionGroup bactiongroup = ...; CPointer<Object> p = bactiongroup.__dna__addressof(bActionGroup.__DNA__FIELD__name); CPointer<CArrayFacade<Byte>> p_name = p.cast(new Class[]{CArrayFacade.class, Byte.class});
public static final long[] __DNA__FIELD__cs
Color set to use when customCol == -1.
This is how you get a reference on the corresponding field in the struct:
bActionGroup bactiongroup = ...; CPointer<Object> p = bactiongroup.__dna__addressof(bActionGroup.__DNA__FIELD__cs); CPointer<ThemeWireColor> p_cs = p.cast(new Class[]{ThemeWireColor.class});
public bActionGroup(long __address, Block __block, BlockTable __blockTable)
protected bActionGroup(bActionGroup that)
public CPointer<bActionGroup> getNext() throws java.io.IOException
java.io.IOException
__DNA__FIELD__next
public void setNext(CPointer<bActionGroup> next) throws java.io.IOException
java.io.IOException
__DNA__FIELD__next
public CPointer<bActionGroup> getPrev() throws java.io.IOException
java.io.IOException
__DNA__FIELD__prev
public void setPrev(CPointer<bActionGroup> prev) throws java.io.IOException
java.io.IOException
__DNA__FIELD__prev
public ListBase getChannels() throws java.io.IOException
Note: this must not be touched by standard listbase functions which would clear links to other channels.
java.io.IOException
__DNA__FIELD__channels
public void setChannels(ListBase channels) throws java.io.IOException
Note: this must not be touched by standard listbase functions which would clear links to other channels.
java.io.IOException
__DNA__FIELD__channels
public int getFlag() throws java.io.IOException
Settings for this action-group.
java.io.IOException
__DNA__FIELD__flag
public void setFlag(int flag) throws java.io.IOException
Settings for this action-group.
java.io.IOException
__DNA__FIELD__flag
public int getCustomCol() throws java.io.IOException
Index of custom color set to use when used for bones (0=default - used for all old files, -1=custom set).
java.io.IOException
__DNA__FIELD__customCol
public void setCustomCol(int customCol) throws java.io.IOException
Index of custom color set to use when used for bones (0=default - used for all old files, -1=custom set).
java.io.IOException
__DNA__FIELD__customCol
public CArrayFacade<java.lang.Byte> getName() throws java.io.IOException
Name of the group.
java.io.IOException
__DNA__FIELD__name
public void setName(CArrayFacade<java.lang.Byte> name) throws java.io.IOException
Name of the group.
java.io.IOException
__DNA__FIELD__name
public ThemeWireColor getCs() throws java.io.IOException
Color set to use when customCol == -1.
java.io.IOException
__DNA__FIELD__cs
public void setCs(ThemeWireColor cs) throws java.io.IOException
Color set to use when customCol == -1.
java.io.IOException
__DNA__FIELD__cs
public CPointer<bActionGroup> __io__addressof()