Class IDOverrideLibrary


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

    Class Documentation

    Blender Source Code

    Main container for all overriding data info of a data-block.

    • Field Detail

      • __DNA__SDNA_INDEX

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

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

        See Also:
        StructDNA, BlockTable, Constant Field Values
      • __DNA__FIELD__reference

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

        Field Documentation

        Blender Python API

        (read-only) Linked ID used as reference by this override

        Blender Source Code

        Reference linked ID which this one overrides.

        Pointer Arithmetics

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

         IDOverrideLibrary idoverridelibrary = ...;
         CPointer<Object> p = idoverridelibrary.__dna__addressof(IDOverrideLibrary.__DNA__FIELD__reference);
         CPointer<CPointer<ID>> p_reference = p.cast(new Class[]{CPointer.class, ID.class});
         

        Metadata

        • Field: 'reference'
        • Signature: 'ID*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__properties

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

        Field Documentation

        Blender Python API

        (read-only) List of overridden properties

        Blender Source Code

        List of IDOverrideLibraryProperty structs.

        Pointer Arithmetics

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

         IDOverrideLibrary idoverridelibrary = ...;
         CPointer<Object> p = idoverridelibrary.__dna__addressof(IDOverrideLibrary.__DNA__FIELD__properties);
         CPointer<ListBase> p_properties = p.cast(new Class[]{ListBase.class});
         

        Metadata

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

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

        Field Documentation

        Blender Python API

        (read-only) Library override ID used as root of the override hierarchy this ID is a member of

        Blender Source Code

        Override hierarchy root ID . Usually the actual root of the hierarchy, but not always in degenerated cases.

        All liboverrides of a same hierarchy (e.g. a character collection) share the same root.

        Pointer Arithmetics

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

         IDOverrideLibrary idoverridelibrary = ...;
         CPointer<Object> p = idoverridelibrary.__dna__addressof(IDOverrideLibrary.__DNA__FIELD__hierarchy_root);
         CPointer<CPointer<ID>> p_hierarchy_root = p.cast(new Class[]{CPointer.class, ID.class});
         

        Metadata

        • Field: 'hierarchy_root'
        • Signature: 'ID*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__storage

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

        Field Documentation

        Blender Source Code

        Read/write data. Temp ID storing extra override data (used for differential operations only currently). Always NULL outside of read/write context.

        Pointer Arithmetics

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

         IDOverrideLibrary idoverridelibrary = ...;
         CPointer<Object> p = idoverridelibrary.__dna__addressof(IDOverrideLibrary.__DNA__FIELD__storage);
         CPointer<CPointer<ID>> p_storage = p.cast(new Class[]{CPointer.class, ID.class});
         

        Metadata

        • Field: 'storage'
        • Signature: 'ID*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__runtime

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

        Pointer Arithmetics

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

         IDOverrideLibrary idoverridelibrary = ...;
         CPointer<Object> p = idoverridelibrary.__dna__addressof(IDOverrideLibrary.__DNA__FIELD__runtime);
         CPointer<CPointer<Object>> p_runtime = p.cast(new Class[]{CPointer.class, Object.class});
         

        Metadata

        • Field: 'runtime'
        • Signature: 'IDOverrideLibraryRuntime*'
        • Actual Size (32bit/64bit): 4/8
      • __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:

         IDOverrideLibrary idoverridelibrary = ...;
         CPointer<Object> p = idoverridelibrary.__dna__addressof(IDOverrideLibrary.__DNA__FIELD__flag);
         CPointer<Integer> p_flag = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'flag'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD___pad_1

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

        Pointer Arithmetics

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

         IDOverrideLibrary idoverridelibrary = ...;
         CPointer<Object> p = idoverridelibrary.__dna__addressof(IDOverrideLibrary.__DNA__FIELD___pad_1);
         CPointer<CArrayFacade<Byte>> p__pad_1 = p.cast(new Class[]{CArrayFacade.class, Byte.class});
         

        Metadata

        • Field: '_pad_1'
        • Signature: 'char[4]'
        • Actual Size (32bit/64bit): 4/4
    • Constructor Detail

      • IDOverrideLibrary

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

      • getReference

        public CPointer<ID> getReference()
                                  throws java.io.IOException
        Get method for struct member 'reference'.

        Field Documentation

        Blender Python API

        (read-only) Linked ID used as reference by this override

        Blender Source Code

        Reference linked ID which this one overrides.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__reference
      • setReference

        public void setReference​(CPointer<ID> reference)
                          throws java.io.IOException
        Set method for struct member 'reference'.

        Field Documentation

        Blender Python API

        (read-only) Linked ID used as reference by this override

        Blender Source Code

        Reference linked ID which this one overrides.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__reference
      • getProperties

        public ListBase getProperties()
                               throws java.io.IOException
        Get method for struct member 'properties'.

        Field Documentation

        Blender Python API

        (read-only) List of overridden properties

        Blender Source Code

        List of IDOverrideLibraryProperty structs.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__properties
      • setProperties

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

        Field Documentation

        Blender Python API

        (read-only) List of overridden properties

        Blender Source Code

        List of IDOverrideLibraryProperty structs.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__properties
      • getHierarchy_root

        public CPointer<ID> getHierarchy_root()
                                       throws java.io.IOException
        Get method for struct member 'hierarchy_root'.

        Field Documentation

        Blender Python API

        (read-only) Library override ID used as root of the override hierarchy this ID is a member of

        Blender Source Code

        Override hierarchy root ID . Usually the actual root of the hierarchy, but not always in degenerated cases.

        All liboverrides of a same hierarchy (e.g. a character collection) share the same root.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__hierarchy_root
      • setHierarchy_root

        public void setHierarchy_root​(CPointer<ID> hierarchy_root)
                               throws java.io.IOException
        Set method for struct member 'hierarchy_root'.

        Field Documentation

        Blender Python API

        (read-only) Library override ID used as root of the override hierarchy this ID is a member of

        Blender Source Code

        Override hierarchy root ID . Usually the actual root of the hierarchy, but not always in degenerated cases.

        All liboverrides of a same hierarchy (e.g. a character collection) share the same root.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__hierarchy_root
      • getStorage

        public CPointer<ID> getStorage()
                                throws java.io.IOException
        Get method for struct member 'storage'.

        Field Documentation

        Blender Source Code

        Read/write data. Temp ID storing extra override data (used for differential operations only currently). Always NULL outside of read/write context.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__storage
      • setStorage

        public void setStorage​(CPointer<ID> storage)
                        throws java.io.IOException
        Set method for struct member 'storage'.

        Field Documentation

        Blender Source Code

        Read/write data. Temp ID storing extra override data (used for differential operations only currently). Always NULL outside of read/write context.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__storage
      • getRuntime

        public CPointer<java.lang.Object> getRuntime()
                                              throws java.io.IOException
        Get method for struct member 'runtime'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__runtime
      • setRuntime

        public void setRuntime​(CPointer<java.lang.Object> runtime)
                        throws java.io.IOException
        Set method for struct member 'runtime'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__runtime
      • getFlag

        public int getFlag()
                    throws java.io.IOException
        Get method for struct member 'flag'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__flag
      • setFlag

        public void setFlag​(int flag)
                     throws java.io.IOException
        Set method for struct member 'flag'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__flag
      • get_pad_1

        public CArrayFacade<java.lang.Byte> get_pad_1()
                                               throws java.io.IOException
        Get method for struct member '_pad_1'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD___pad_1
      • set_pad_1

        public void set_pad_1​(CArrayFacade<java.lang.Byte> _pad_1)
                       throws java.io.IOException
        Set method for struct member '_pad_1'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD___pad_1