Class SceneCollection


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

    Class Documentation

    • Field Detail

      • __DNA__SDNA_INDEX

        public static final int __DNA__SDNA_INDEX
        This is the sdna index of the struct SceneCollection.

        It is required when allocating a new block to store data for SceneCollection.

        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:

         SceneCollection scenecollection = ...;
         CPointer<Object> p = scenecollection.__dna__addressof(SceneCollection.__DNA__FIELD__next);
         CPointer<CPointer<SceneCollection>> p_next = p.cast(new Class[]{CPointer.class, SceneCollection.class});
         

        Metadata

        • Field: 'next'
        • Signature: 'SceneCollection*'
        • 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:

         SceneCollection scenecollection = ...;
         CPointer<Object> p = scenecollection.__dna__addressof(SceneCollection.__DNA__FIELD__prev);
         CPointer<CPointer<SceneCollection>> p_prev = p.cast(new Class[]{CPointer.class, SceneCollection.class});
         

        Metadata

        • Field: 'prev'
        • Signature: 'SceneCollection*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__name

        public static final long[] __DNA__FIELD__name
        Field descriptor (offset) for struct member 'name'.

        Field Documentation

        Blender Source Code

        MAX_NAME.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         SceneCollection scenecollection = ...;
         CPointer<Object> p = scenecollection.__dna__addressof(SceneCollection.__DNA__FIELD__name);
         CPointer<CArrayFacade<Byte>> p_name = p.cast(new Class[]{CArrayFacade.class, Byte.class});
         

        Metadata

        • Field: 'name'
        • Signature: 'char[64]'
        • Actual Size (32bit/64bit): 64/64
      • __DNA__FIELD__active_object_index

        public static final long[] __DNA__FIELD__active_object_index
        Field descriptor (offset) for struct member 'active_object_index'.

        Field Documentation

        Blender Source Code

        For UI.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         SceneCollection scenecollection = ...;
         CPointer<Object> p = scenecollection.__dna__addressof(SceneCollection.__DNA__FIELD__active_object_index);
         CPointer<Integer> p_active_object_index = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'active_object_index'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __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:

         SceneCollection scenecollection = ...;
         CPointer<Object> p = scenecollection.__dna__addressof(SceneCollection.__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__type

        public static final long[] __DNA__FIELD__type
        Field descriptor (offset) for struct member 'type'.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         SceneCollection scenecollection = ...;
         CPointer<Object> p = scenecollection.__dna__addressof(SceneCollection.__DNA__FIELD__type);
         CPointer<Byte> p_type = p.cast(new Class[]{Byte.class});
         

        Metadata

        • Field: 'type'
        • Signature: 'char'
        • Actual Size (32bit/64bit): 1/1
      • __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:

         SceneCollection scenecollection = ...;
         CPointer<Object> p = scenecollection.__dna__addressof(SceneCollection.__DNA__FIELD___pad);
         CPointer<Byte> p__pad = p.cast(new Class[]{Byte.class});
         

        Metadata

        • Field: '_pad'
        • Signature: 'char'
        • Actual Size (32bit/64bit): 1/1
      • __DNA__FIELD__objects

        public static final long[] __DNA__FIELD__objects
        Field descriptor (offset) for struct member 'objects'.

        Field Documentation

        Blender Source Code

        (Object *)LinkData->data.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         SceneCollection scenecollection = ...;
         CPointer<Object> p = scenecollection.__dna__addressof(SceneCollection.__DNA__FIELD__objects);
         CPointer<ListBase> p_objects = p.cast(new Class[]{ListBase.class});
         

        Metadata

        • Field: 'objects'
        • Signature: 'ListBase'
        • Actual Size (32bit/64bit): 8/16
      • __DNA__FIELD__scene_collections

        public static final long[] __DNA__FIELD__scene_collections
        Field descriptor (offset) for struct member 'scene_collections'.

        Field Documentation

        Blender Source Code

        Nested collections.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         SceneCollection scenecollection = ...;
         CPointer<Object> p = scenecollection.__dna__addressof(SceneCollection.__DNA__FIELD__scene_collections);
         CPointer<ListBase> p_scene_collections = p.cast(new Class[]{ListBase.class});
         

        Metadata

        • Field: 'scene_collections'
        • Signature: 'ListBase'
        • Actual Size (32bit/64bit): 8/16
    • Constructor Detail

      • SceneCollection

        public SceneCollection​(long __address,
                               Block __block,
                               BlockTable __blockTable)
    • Method Detail

      • getName

        public CArrayFacade<java.lang.Byte> getName()
                                             throws java.io.IOException
        Get method for struct member 'name'.

        Field Documentation

        Blender Source Code

        MAX_NAME.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__name
      • setName

        public void setName​(CArrayFacade<java.lang.Byte> name)
                     throws java.io.IOException
        Set method for struct member 'name'.

        Field Documentation

        Blender Source Code

        MAX_NAME.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__name
      • getActive_object_index

        public int getActive_object_index()
                                   throws java.io.IOException
        Get method for struct member 'active_object_index'.

        Field Documentation

        Blender Source Code

        For UI.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__active_object_index
      • setActive_object_index

        public void setActive_object_index​(int active_object_index)
                                    throws java.io.IOException
        Set method for struct member 'active_object_index'.

        Field Documentation

        Blender Source Code

        For UI.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__active_object_index
      • 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
      • getType

        public byte getType()
                     throws java.io.IOException
        Get method for struct member 'type'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__type
      • setType

        public void setType​(byte type)
                     throws java.io.IOException
        Set method for struct member 'type'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__type
      • get_pad

        public 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​(byte _pad)
                     throws java.io.IOException
        Set method for struct member '_pad'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD___pad
      • getObjects

        public ListBase getObjects()
                            throws java.io.IOException
        Get method for struct member 'objects'.

        Field Documentation

        Blender Source Code

        (Object *)LinkData->data.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__objects
      • setObjects

        public void setObjects​(ListBase objects)
                        throws java.io.IOException
        Set method for struct member 'objects'.

        Field Documentation

        Blender Source Code

        (Object *)LinkData->data.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__objects
      • getScene_collections

        public ListBase getScene_collections()
                                      throws java.io.IOException
        Get method for struct member 'scene_collections'.

        Field Documentation

        Blender Source Code

        Nested collections.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__scene_collections
      • setScene_collections

        public void setScene_collections​(ListBase scene_collections)
                                  throws java.io.IOException
        Set method for struct member 'scene_collections'.

        Field Documentation

        Blender Source Code

        Nested collections.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__scene_collections