Class LayerCollection


  • public class LayerCollection
    extends CFacade
    Generated facet for DNA struct type 'LayerCollection'.

    Class Documentation

    • 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 wrapping

        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__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.
        Deprecated

        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__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)
    • Method Detail

      • 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.
        Deprecated

        Get 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.
        Deprecated

        Set 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