Class LayerCollection
- java.lang.Object
-
- org.cakelab.blender.nio.CFacade
-
- org.blender.dna.LayerCollection
-
public class LayerCollection extends CFacade
Generated facet for DNA struct type 'LayerCollection'.Class Documentation
-
-
Field Summary
Fields Modifier and Type Field Description static long[]
__DNA__FIELD___pad
Field descriptor (offset) for struct member '_pad'.static long[]
__DNA__FIELD___pad2
Field descriptor (offset) for struct member '_pad2'.static long[]
__DNA__FIELD__collection
Field descriptor (offset) for struct member 'collection'.static long[]
__DNA__FIELD__flag
Field descriptor (offset) for struct member 'flag'.static long[]
__DNA__FIELD__layer_collections
Field descriptor (offset) for struct member 'layer_collections'.static long[]
__DNA__FIELD__local_collections_bits
Field descriptor (offset) for struct member 'local_collections_bits'.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__runtime_flag
Field descriptor (offset) for struct member 'runtime_flag'.static long[]
__DNA__FIELD__scene_collection
Deprecated.Deprecatedstatic int
__DNA__SDNA_INDEX
This is the sdna index of the struct LayerCollection.-
Fields inherited from class org.cakelab.blender.nio.CFacade
__io__address, __io__arch_index, __io__block, __io__blockTable, __io__pointersize
-
-
Constructor Summary
Constructors Modifier Constructor Description LayerCollection(long __address, Block __block, BlockTable __blockTable)
protected
LayerCollection(LayerCollection that)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description CPointer<LayerCollection>
__io__addressof()
Instantiates a pointer on this instance.CArrayFacade<java.lang.Byte>
get_pad()
Get method for struct member '_pad'.CArrayFacade<java.lang.Short>
get_pad2()
Get method for struct member '_pad2'.CPointer<Collection>
getCollection()
Get method for struct member 'collection'.short
getFlag()
Get method for struct member 'flag'.ListBase
getLayer_collections()
Get method for struct member 'layer_collections'.short
getLocal_collections_bits()
Get method for struct member 'local_collections_bits'.CPointer<LayerCollection>
getNext()
Get method for struct member 'next'.CPointer<LayerCollection>
getPrev()
Get method for struct member 'prev'.short
getRuntime_flag()
Get method for struct member 'runtime_flag'.CPointer<SceneCollection>
getScene_collection()
Deprecated.Deprecatedvoid
set_pad(CArrayFacade<java.lang.Byte> _pad)
Set method for struct member '_pad'.void
set_pad2(CArrayFacade<java.lang.Short> _pad2)
Set method for struct member '_pad2'.void
setCollection(CPointer<Collection> collection)
Set method for struct member 'collection'.void
setFlag(short flag)
Set method for struct member 'flag'.void
setLayer_collections(ListBase layer_collections)
Set method for struct member 'layer_collections'.void
setLocal_collections_bits(short local_collections_bits)
Set method for struct member 'local_collections_bits'.void
setNext(CPointer<LayerCollection> next)
Set method for struct member 'next'.void
setPrev(CPointer<LayerCollection> prev)
Set method for struct member 'prev'.void
setRuntime_flag(short runtime_flag)
Set method for struct member 'runtime_flag'.void
setScene_collection(CPointer<SceneCollection> scene_collection)
Deprecated.Deprecated-
Methods inherited from class org.cakelab.blender.nio.CFacade
__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, equals, hashCode
-
-
-
-
Field Detail
-
__DNA__SDNA_INDEX
public static final int __DNA__SDNA_INDEX
This is the sdna index of the struct LayerCollection.It is required when allocating a new block to store data for LayerCollection.
- See Also:
StructDNA
,BlockTable
, Constant Field Values
-
__DNA__FIELD__next
public static final long[] __DNA__FIELD__next
Field descriptor (offset) for struct member 'next'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
LayerCollection layercollection = ...; CPointer<Object> p = layercollection.__dna__addressof(LayerCollection.__DNA__FIELD__next); CPointer<CPointer<LayerCollection>> p_next = p.cast(new Class[]{CPointer.class, LayerCollection.class});
Metadata
- Field: 'next'
- Signature: 'LayerCollection*'
- Actual Size (32bit/64bit): 4/8
-
__DNA__FIELD__prev
public static final long[] __DNA__FIELD__prev
Field descriptor (offset) for struct member 'prev'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
LayerCollection layercollection = ...; CPointer<Object> p = layercollection.__dna__addressof(LayerCollection.__DNA__FIELD__prev); CPointer<CPointer<LayerCollection>> p_prev = p.cast(new Class[]{CPointer.class, LayerCollection.class});
Metadata
- Field: 'prev'
- Signature: 'LayerCollection*'
- Actual Size (32bit/64bit): 4/8
-
__DNA__FIELD__collection
public static final long[] __DNA__FIELD__collection
Field descriptor (offset) for struct member 'collection'.Field Documentation
Blender Python API
(read-only) Collection this layer collection is wrappingPointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
LayerCollection layercollection = ...; CPointer<Object> p = layercollection.__dna__addressof(LayerCollection.__DNA__FIELD__collection); CPointer<CPointer<Collection>> p_collection = p.cast(new Class[]{CPointer.class, Collection.class});
Metadata
- Field: 'collection'
- Signature: 'Collection*'
- Actual Size (32bit/64bit): 4/8
-
__DNA__FIELD__scene_collection
public static final long[] __DNA__FIELD__scene_collection
Deprecated.DeprecatedPointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
LayerCollection layercollection = ...; CPointer<Object> p = layercollection.__dna__addressof(LayerCollection.__DNA__FIELD__scene_collection); CPointer<CPointer<SceneCollection>> p_scene_collection = p.cast(new Class[]{CPointer.class, SceneCollection.class});
Metadata
- Field: 'scene_collection'
- Signature: 'SceneCollection*'
- Actual Size (32bit/64bit): 4/8
Field descriptor (offset) for struct member 'scene_collection'.Field Documentation
Blender Source Code
-
__DNA__FIELD__flag
public static final long[] __DNA__FIELD__flag
Field descriptor (offset) for struct member 'flag'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
LayerCollection layercollection = ...; CPointer<Object> p = layercollection.__dna__addressof(LayerCollection.__DNA__FIELD__flag); CPointer<Short> p_flag = p.cast(new Class[]{Short.class});
Metadata
- Field: 'flag'
- Signature: 'short'
- Actual Size (32bit/64bit): 2/2
-
__DNA__FIELD__runtime_flag
public static final long[] __DNA__FIELD__runtime_flag
Field descriptor (offset) for struct member 'runtime_flag'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
LayerCollection layercollection = ...; CPointer<Object> p = layercollection.__dna__addressof(LayerCollection.__DNA__FIELD__runtime_flag); CPointer<Short> p_runtime_flag = p.cast(new Class[]{Short.class});
Metadata
- Field: 'runtime_flag'
- Signature: 'short'
- Actual Size (32bit/64bit): 2/2
-
__DNA__FIELD___pad
public static final long[] __DNA__FIELD___pad
Field descriptor (offset) for struct member '_pad'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
LayerCollection layercollection = ...; CPointer<Object> p = layercollection.__dna__addressof(LayerCollection.__DNA__FIELD___pad); CPointer<CArrayFacade<Byte>> p__pad = p.cast(new Class[]{CArrayFacade.class, Byte.class});
Metadata
- Field: '_pad'
- Signature: 'char[4]'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD__layer_collections
public static final long[] __DNA__FIELD__layer_collections
Field descriptor (offset) for struct member 'layer_collections'.Field Documentation
Blender Source Code
Synced with collection->children.
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
LayerCollection layercollection = ...; CPointer<Object> p = layercollection.__dna__addressof(LayerCollection.__DNA__FIELD__layer_collections); CPointer<ListBase> p_layer_collections = p.cast(new Class[]{ListBase.class});
Metadata
- Field: 'layer_collections'
- Signature: 'ListBase'
- Actual Size (32bit/64bit): 8/16
-
__DNA__FIELD__local_collections_bits
public static final long[] __DNA__FIELD__local_collections_bits
Field descriptor (offset) for struct member 'local_collections_bits'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
LayerCollection layercollection = ...; CPointer<Object> p = layercollection.__dna__addressof(LayerCollection.__DNA__FIELD__local_collections_bits); CPointer<Short> p_local_collections_bits = p.cast(new Class[]{Short.class});
Metadata
- Field: 'local_collections_bits'
- Signature: 'short'
- Actual Size (32bit/64bit): 2/2
-
__DNA__FIELD___pad2
public static final long[] __DNA__FIELD___pad2
Field descriptor (offset) for struct member '_pad2'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
LayerCollection layercollection = ...; CPointer<Object> p = layercollection.__dna__addressof(LayerCollection.__DNA__FIELD___pad2); CPointer<CArrayFacade<Short>> p__pad2 = p.cast(new Class[]{CArrayFacade.class, Short.class});
Metadata
- Field: '_pad2'
- Signature: 'short[3]'
- Actual Size (32bit/64bit): 6/6
-
-
Constructor Detail
-
LayerCollection
public LayerCollection(long __address, Block __block, BlockTable __blockTable)
-
LayerCollection
protected LayerCollection(LayerCollection that)
-
-
Method Detail
-
getNext
public CPointer<LayerCollection> getNext() throws java.io.IOException
Get method for struct member 'next'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__next
-
setNext
public void setNext(CPointer<LayerCollection> next) throws java.io.IOException
Set method for struct member 'next'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__next
-
getPrev
public CPointer<LayerCollection> getPrev() throws java.io.IOException
Get method for struct member 'prev'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__prev
-
setPrev
public void setPrev(CPointer<LayerCollection> prev) throws java.io.IOException
Set method for struct member 'prev'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__prev
-
getCollection
public CPointer<Collection> getCollection() throws java.io.IOException
Get method for struct member 'collection'.Field Documentation
Blender Python API
(read-only) Collection this layer collection is wrapping- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__collection
-
setCollection
public void setCollection(CPointer<Collection> collection) throws java.io.IOException
Set method for struct member 'collection'.Field Documentation
Blender Python API
(read-only) Collection this layer collection is wrapping- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__collection
-
getScene_collection
public CPointer<SceneCollection> getScene_collection() throws java.io.IOException
Deprecated.DeprecatedGet method for struct member 'scene_collection'.Field Documentation
Blender Source Code
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__scene_collection
-
setScene_collection
public void setScene_collection(CPointer<SceneCollection> scene_collection) throws java.io.IOException
Deprecated.DeprecatedSet method for struct member 'scene_collection'.Field Documentation
Blender Source Code
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__scene_collection
-
getFlag
public short getFlag() throws java.io.IOException
Get method for struct member 'flag'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__flag
-
setFlag
public void setFlag(short flag) throws java.io.IOException
Set method for struct member 'flag'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__flag
-
getRuntime_flag
public short getRuntime_flag() throws java.io.IOException
Get method for struct member 'runtime_flag'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__runtime_flag
-
setRuntime_flag
public void setRuntime_flag(short runtime_flag) throws java.io.IOException
Set method for struct member 'runtime_flag'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__runtime_flag
-
get_pad
public CArrayFacade<java.lang.Byte> get_pad() throws java.io.IOException
Get method for struct member '_pad'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD___pad
-
set_pad
public void set_pad(CArrayFacade<java.lang.Byte> _pad) throws java.io.IOException
Set method for struct member '_pad'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD___pad
-
getLayer_collections
public ListBase getLayer_collections() throws java.io.IOException
Get method for struct member 'layer_collections'.Field Documentation
Blender Source Code
Synced with collection->children.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__layer_collections
-
setLayer_collections
public void setLayer_collections(ListBase layer_collections) throws java.io.IOException
Set method for struct member 'layer_collections'.Field Documentation
Blender Source Code
Synced with collection->children.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__layer_collections
-
getLocal_collections_bits
public short getLocal_collections_bits() throws java.io.IOException
Get method for struct member 'local_collections_bits'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__local_collections_bits
-
setLocal_collections_bits
public void setLocal_collections_bits(short local_collections_bits) throws java.io.IOException
Set method for struct member 'local_collections_bits'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__local_collections_bits
-
get_pad2
public CArrayFacade<java.lang.Short> get_pad2() throws java.io.IOException
Get method for struct member '_pad2'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD___pad2
-
set_pad2
public void set_pad2(CArrayFacade<java.lang.Short> _pad2) throws java.io.IOException
Set method for struct member '_pad2'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD___pad2
-
__io__addressof
public CPointer<LayerCollection> __io__addressof()
Instantiates a pointer on this instance.
-
-