public class Collection extends CFacade
Modifier and Type | Field and Description |
---|---|
static long[] |
__DNA__FIELD__children
Field descriptor (offset) for struct member 'children'.
|
static long[] |
__DNA__FIELD__collection
Deprecated.
Deprecated
Pointer ArithmeticsThis is how you get a reference on the corresponding field in the struct: Collection collection = ...; CPointer<Object> p = collection.__dna__addressof(Collection.__DNA__FIELD__collection); CPointer<CPointer<SceneCollection>> p_collection = p.cast(new Class[]{CPointer.class, SceneCollection.class}); Metadata
|
static long[] |
__DNA__FIELD__color_tag
Field descriptor (offset) for struct member 'color_tag'.
|
static long[] |
__DNA__FIELD__dupli_ofs
Field descriptor (offset) for struct member 'dupli_ofs'.
|
static long[] |
__DNA__FIELD__flag
Field descriptor (offset) for struct member 'flag'.
|
static long[] |
__DNA__FIELD__gobject
Field descriptor (offset) for struct member 'gobject'.
|
static long[] |
__DNA__FIELD__id
Field descriptor (offset) for struct member 'id'.
|
static long[] |
__DNA__FIELD__layer
Deprecated.
Deprecated
Pointer ArithmeticsThis is how you get a reference on the corresponding field in the struct: Collection collection = ...; CPointer<Object> p = collection.__dna__addressof(Collection.__DNA__FIELD__layer); CPointer<Integer> p_layer = p.cast(new Class[]{Integer.class}); Metadata
|
static long[] |
__DNA__FIELD__lineart_usage
Field descriptor (offset) for struct member 'lineart_usage'.
|
static long[] |
__DNA__FIELD__object_cache
Field descriptor (offset) for struct member 'object_cache'.
|
static long[] |
__DNA__FIELD__object_cache_instanced
Field descriptor (offset) for struct member 'object_cache_instanced'.
|
static long[] |
__DNA__FIELD__parents
Field descriptor (offset) for struct member 'parents'.
|
static long[] |
__DNA__FIELD__preview
Field descriptor (offset) for struct member 'preview'.
|
static long[] |
__DNA__FIELD__tag
Field descriptor (offset) for struct member 'tag'.
|
static long[] |
__DNA__FIELD__view_layer
Deprecated.
Deprecated
Pointer ArithmeticsThis is how you get a reference on the corresponding field in the struct: Collection collection = ...; CPointer<Object> p = collection.__dna__addressof(Collection.__DNA__FIELD__view_layer); CPointer<CPointer<ViewLayer>> p_view_layer = p.cast(new Class[]{CPointer.class, ViewLayer.class}); Metadata
|
static int |
__DNA__SDNA_INDEX
This is the sdna index of the struct Collection.
|
__io__address, __io__arch_index, __io__block, __io__blockTable, __io__pointersize
Modifier | Constructor and Description |
---|---|
protected |
Collection(Collection that) |
|
Collection(long __address,
Block __block,
BlockTable __blockTable) |
Modifier and Type | Method and Description |
---|---|
CPointer<Collection> |
__io__addressof()
Instantiates a pointer on this instance.
|
ListBase |
getChildren()
Get method for struct member 'children'.
|
CPointer<SceneCollection> |
getCollection()
Deprecated.
Deprecated
|
short |
getColor_tag()
Get method for struct member 'color_tag'.
|
CArrayFacade<java.lang.Float> |
getDupli_ofs()
Get method for struct member 'dupli_ofs'.
|
short |
getFlag()
Get method for struct member 'flag'.
|
ListBase |
getGobject()
Get method for struct member 'gobject'.
|
ID |
getId()
Get method for struct member 'id'.
|
int |
getLayer()
Deprecated.
Deprecated
|
short |
getLineart_usage()
Get method for struct member 'lineart_usage'.
|
ListBase |
getObject_cache_instanced()
Get method for struct member 'object_cache_instanced'.
|
ListBase |
getObject_cache()
Get method for struct member 'object_cache'.
|
ListBase |
getParents()
Get method for struct member 'parents'.
|
CPointer<PreviewImage> |
getPreview()
Get method for struct member 'preview'.
|
short |
getTag()
Get method for struct member 'tag'.
|
CPointer<ViewLayer> |
getView_layer()
Deprecated.
Deprecated
|
void |
setChildren(ListBase children)
Set method for struct member 'children'.
|
void |
setCollection(CPointer<SceneCollection> collection)
Deprecated.
Deprecated
|
void |
setColor_tag(short color_tag)
Set method for struct member 'color_tag'.
|
void |
setDupli_ofs(CArrayFacade<java.lang.Float> dupli_ofs)
Set method for struct member 'dupli_ofs'.
|
void |
setFlag(short flag)
Set method for struct member 'flag'.
|
void |
setGobject(ListBase gobject)
Set method for struct member 'gobject'.
|
void |
setId(ID id)
Set method for struct member 'id'.
|
void |
setLayer(int layer)
Deprecated.
Deprecated
|
void |
setLineart_usage(short lineart_usage)
Set method for struct member 'lineart_usage'.
|
void |
setObject_cache_instanced(ListBase object_cache_instanced)
Set method for struct member 'object_cache_instanced'.
|
void |
setObject_cache(ListBase object_cache)
Set method for struct member 'object_cache'.
|
void |
setParents(ListBase parents)
Set method for struct member 'parents'.
|
void |
setPreview(CPointer<PreviewImage> preview)
Set method for struct member 'preview'.
|
void |
setTag(short tag)
Set method for struct member 'tag'.
|
void |
setView_layer(CPointer<ViewLayer> view_layer)
Deprecated.
Deprecated
|
__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 Collection.
org.cakelab.blender.io.dna.internal.StructDNA}
,
org.cakelab.blender.io.block.BlockTable#allocate}
,
Constant Field Valuespublic static final long[] __DNA__FIELD__id
This is how you get a reference on the corresponding field in the struct:
Collection collection = ...; CPointer<Object> p = collection.__dna__addressof(Collection.__DNA__FIELD__id); CPointer<ID> p_id = p.cast(new Class[]{ID.class});
public static final long[] __DNA__FIELD__gobject
This is how you get a reference on the corresponding field in the struct:
Collection collection = ...; CPointer<Object> p = collection.__dna__addressof(Collection.__DNA__FIELD__gobject); CPointer<ListBase> p_gobject = p.cast(new Class[]{ListBase.class});
public static final long[] __DNA__FIELD__children
This is how you get a reference on the corresponding field in the struct:
Collection collection = ...; CPointer<Object> p = collection.__dna__addressof(Collection.__DNA__FIELD__children); CPointer<ListBase> p_children = p.cast(new Class[]{ListBase.class});
public static final long[] __DNA__FIELD__preview
This is how you get a reference on the corresponding field in the struct:
Collection collection = ...; CPointer<Object> p = collection.__dna__addressof(Collection.__DNA__FIELD__preview); CPointer<CPointer<PreviewImage>> p_preview = p.cast(new Class[]{CPointer.class, PreviewImage.class});
public static final long[] __DNA__FIELD__layer
This is how you get a reference on the corresponding field in the struct:
Collection collection = ...; CPointer<Object> p = collection.__dna__addressof(Collection.__DNA__FIELD__layer); CPointer<Integer> p_layer = p.cast(new Class[]{Integer.class});
public static final long[] __DNA__FIELD__dupli_ofs
This is how you get a reference on the corresponding field in the struct:
Collection collection = ...; CPointer<Object> p = collection.__dna__addressof(Collection.__DNA__FIELD__dupli_ofs); CPointer<CArrayFacade<Float>> p_dupli_ofs = p.cast(new Class[]{CArrayFacade.class, Float.class});
public static final long[] __DNA__FIELD__flag
This is how you get a reference on the corresponding field in the struct:
Collection collection = ...; CPointer<Object> p = collection.__dna__addressof(Collection.__DNA__FIELD__flag); CPointer<Short> p_flag = p.cast(new Class[]{Short.class});
public static final long[] __DNA__FIELD__tag
Runtime-only, always cleared on file load.
This is how you get a reference on the corresponding field in the struct:
Collection collection = ...; CPointer<Object> p = collection.__dna__addressof(Collection.__DNA__FIELD__tag); CPointer<Short> p_tag = p.cast(new Class[]{Short.class});
public static final long[] __DNA__FIELD__lineart_usage
Line Art engine specific
This is how you get a reference on the corresponding field in the struct:
Collection collection = ...; CPointer<Object> p = collection.__dna__addressof(Collection.__DNA__FIELD__lineart_usage); CPointer<Short> p_lineart_usage = p.cast(new Class[]{Short.class});
public static final long[] __DNA__FIELD__color_tag
This is how you get a reference on the corresponding field in the struct:
Collection collection = ...; CPointer<Object> p = collection.__dna__addressof(Collection.__DNA__FIELD__color_tag); CPointer<Short> p_color_tag = p.cast(new Class[]{Short.class});
public static final long[] __DNA__FIELD__object_cache
Runtime. Cache of objects in this collection and all its children. This is created on demand when e.g. some physics simulation needs it, we don't want to have it for every collections due to memory usage reasons.
This is how you get a reference on the corresponding field in the struct:
Collection collection = ...; CPointer<Object> p = collection.__dna__addressof(Collection.__DNA__FIELD__object_cache); CPointer<ListBase> p_object_cache = p.cast(new Class[]{ListBase.class});
public static final long[] __DNA__FIELD__object_cache_instanced
Need this for line art sub-collection selections.
This is how you get a reference on the corresponding field in the struct:
Collection collection = ...; CPointer<Object> p = collection.__dna__addressof(Collection.__DNA__FIELD__object_cache_instanced); CPointer<ListBase> p_object_cache_instanced = p.cast(new Class[]{ListBase.class});
public static final long[] __DNA__FIELD__parents
Runtime. List of collections that are a parent of this datablock.
This is how you get a reference on the corresponding field in the struct:
Collection collection = ...; CPointer<Object> p = collection.__dna__addressof(Collection.__DNA__FIELD__parents); CPointer<ListBase> p_parents = p.cast(new Class[]{ListBase.class});
public static final long[] __DNA__FIELD__collection
This is how you get a reference on the corresponding field in the struct:
Collection collection = ...; CPointer<Object> p = collection.__dna__addressof(Collection.__DNA__FIELD__collection); CPointer<CPointer<SceneCollection>> p_collection = p.cast(new Class[]{CPointer.class, SceneCollection.class});
Deprecated
public static final long[] __DNA__FIELD__view_layer
This is how you get a reference on the corresponding field in the struct:
Collection collection = ...; CPointer<Object> p = collection.__dna__addressof(Collection.__DNA__FIELD__view_layer); CPointer<CPointer<ViewLayer>> p_view_layer = p.cast(new Class[]{CPointer.class, ViewLayer.class});
public Collection(long __address, Block __block, BlockTable __blockTable)
protected Collection(Collection that)
public ID getId() throws java.io.IOException
java.io.IOException
__DNA__FIELD__id
public void setId(ID id) throws java.io.IOException
java.io.IOException
__DNA__FIELD__id
public ListBase getGobject() throws java.io.IOException
java.io.IOException
__DNA__FIELD__gobject
public void setGobject(ListBase gobject) throws java.io.IOException
java.io.IOException
__DNA__FIELD__gobject
public ListBase getChildren() throws java.io.IOException
java.io.IOException
__DNA__FIELD__children
public void setChildren(ListBase children) throws java.io.IOException
java.io.IOException
__DNA__FIELD__children
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
public int getLayer() throws java.io.IOException
java.io.IOException
__DNA__FIELD__layer
public void setLayer(int layer) throws java.io.IOException
java.io.IOException
__DNA__FIELD__layer
public CArrayFacade<java.lang.Float> getDupli_ofs() throws java.io.IOException
java.io.IOException
__DNA__FIELD__dupli_ofs
public void setDupli_ofs(CArrayFacade<java.lang.Float> dupli_ofs) throws java.io.IOException
java.io.IOException
__DNA__FIELD__dupli_ofs
public short getFlag() throws java.io.IOException
java.io.IOException
__DNA__FIELD__flag
public void setFlag(short flag) throws java.io.IOException
java.io.IOException
__DNA__FIELD__flag
public short getTag() throws java.io.IOException
Runtime-only, always cleared on file load.
java.io.IOException
__DNA__FIELD__tag
public void setTag(short tag) throws java.io.IOException
Runtime-only, always cleared on file load.
java.io.IOException
__DNA__FIELD__tag
public short getLineart_usage() throws java.io.IOException
Line Art engine specific
java.io.IOException
__DNA__FIELD__lineart_usage
public void setLineart_usage(short lineart_usage) throws java.io.IOException
Line Art engine specific
java.io.IOException
__DNA__FIELD__lineart_usage
public short getColor_tag() throws java.io.IOException
java.io.IOException
__DNA__FIELD__color_tag
public void setColor_tag(short color_tag) throws java.io.IOException
java.io.IOException
__DNA__FIELD__color_tag
public ListBase getObject_cache() throws java.io.IOException
Runtime. Cache of objects in this collection and all its children. This is created on demand when e.g. some physics simulation needs it, we don't want to have it for every collections due to memory usage reasons.
java.io.IOException
__DNA__FIELD__object_cache
public void setObject_cache(ListBase object_cache) throws java.io.IOException
Runtime. Cache of objects in this collection and all its children. This is created on demand when e.g. some physics simulation needs it, we don't want to have it for every collections due to memory usage reasons.
java.io.IOException
__DNA__FIELD__object_cache
public ListBase getObject_cache_instanced() throws java.io.IOException
Need this for line art sub-collection selections.
java.io.IOException
__DNA__FIELD__object_cache_instanced
public void setObject_cache_instanced(ListBase object_cache_instanced) throws java.io.IOException
Need this for line art sub-collection selections.
java.io.IOException
__DNA__FIELD__object_cache_instanced
public ListBase getParents() throws java.io.IOException
Runtime. List of collections that are a parent of this datablock.
java.io.IOException
__DNA__FIELD__parents
public void setParents(ListBase parents) throws java.io.IOException
Runtime. List of collections that are a parent of this datablock.
java.io.IOException
__DNA__FIELD__parents
public CPointer<SceneCollection> getCollection() throws java.io.IOException
Deprecated
java.io.IOException
__DNA__FIELD__collection
public void setCollection(CPointer<SceneCollection> collection) throws java.io.IOException
Deprecated
java.io.IOException
__DNA__FIELD__collection
public CPointer<ViewLayer> getView_layer() throws java.io.IOException
java.io.IOException
__DNA__FIELD__view_layer
public void setView_layer(CPointer<ViewLayer> view_layer) throws java.io.IOException
java.io.IOException
__DNA__FIELD__view_layer
public CPointer<Collection> __io__addressof()