Class IDOverrideLibraryPropertyOperation


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

    Class Documentation

    Blender Source Code

    add any future new id property types here. Static ID override structs.

    • Field Detail

      • __DNA__SDNA_INDEX

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

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

        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:

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

        Metadata

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

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

        Metadata

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

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

        Field Documentation

        Blender Python API

        (read-only) What override operation is performed

        Blender Source Code

        Type of override.

        Pointer Arithmetics

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

         IDOverrideLibraryPropertyOperation idoverridelibrarypropertyoperation = ...;
         CPointer<Object> p = idoverridelibrarypropertyoperation.__dna__addressof(IDOverrideLibraryPropertyOperation.__DNA__FIELD__operation);
         CPointer<Short> p_operation = p.cast(new Class[]{Short.class});
         

        Metadata

        • Field: 'operation'
        • Signature: 'short'
        • Actual Size (32bit/64bit): 2/2
      • __DNA__FIELD__flag

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

        Field Documentation

        Blender Python API

        (read-only) Optional flags (NOT USED)

        Pointer Arithmetics

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

         IDOverrideLibraryPropertyOperation idoverridelibrarypropertyoperation = ...;
         CPointer<Object> p = idoverridelibrarypropertyoperation.__dna__addressof(IDOverrideLibraryPropertyOperation.__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__tag

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

        Field Documentation

        Blender Source Code

        Runtime, tags are common to both IDOverrideProperty and IDOverridePropertyOperation.

        Pointer Arithmetics

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

         IDOverrideLibraryPropertyOperation idoverridelibrarypropertyoperation = ...;
         CPointer<Object> p = idoverridelibrarypropertyoperation.__dna__addressof(IDOverrideLibraryPropertyOperation.__DNA__FIELD__tag);
         CPointer<Short> p_tag = p.cast(new Class[]{Short.class});
         

        Metadata

        • Field: 'tag'
        • Signature: 'short'
        • Actual Size (32bit/64bit): 2/2
      • __DNA__FIELD___pad0

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

        Pointer Arithmetics

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

         IDOverrideLibraryPropertyOperation idoverridelibrarypropertyoperation = ...;
         CPointer<Object> p = idoverridelibrarypropertyoperation.__dna__addressof(IDOverrideLibraryPropertyOperation.__DNA__FIELD___pad0);
         CPointer<CArrayFacade<Byte>> p__pad0 = p.cast(new Class[]{CArrayFacade.class, Byte.class});
         

        Metadata

        • Field: '_pad0'
        • Signature: 'char[2]'
        • Actual Size (32bit/64bit): 2/2
      • __DNA__FIELD__subitem_reference_name

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

        Field Documentation

        Blender Python API

        (read-only) Used to handle insertions into collection

        Blender Source Code

        Sub-item references, if needed (for arrays or collections only). We need both reference and local values to allow e.g. insertion into RNA collections (constraints, modifiers...). In RNA collection case, if names are defined, they are used in priority. Names are pointers (instead of char[64]) to save some space, NULL or empty string when unset. Indices are -1 when unset.

        NOTE: For insertion operations in RNA collections, reference may not actually exist in the linked reference data. It is used to identify the anchor of the insertion operation (i.e. the item after or before which the new local item should be inserted), in the local override.

        Pointer Arithmetics

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

         IDOverrideLibraryPropertyOperation idoverridelibrarypropertyoperation = ...;
         CPointer<Object> p = idoverridelibrarypropertyoperation.__dna__addressof(IDOverrideLibraryPropertyOperation.__DNA__FIELD__subitem_reference_name);
         CPointer<CPointer<Byte>> p_subitem_reference_name = p.cast(new Class[]{CPointer.class, Byte.class});
         

        Metadata

        • Field: 'subitem_reference_name'
        • Signature: 'char*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__subitem_local_name

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

        Field Documentation

        Blender Python API

        (read-only) Used to handle insertions into collection

        Pointer Arithmetics

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

         IDOverrideLibraryPropertyOperation idoverridelibrarypropertyoperation = ...;
         CPointer<Object> p = idoverridelibrarypropertyoperation.__dna__addressof(IDOverrideLibraryPropertyOperation.__DNA__FIELD__subitem_local_name);
         CPointer<CPointer<Byte>> p_subitem_local_name = p.cast(new Class[]{CPointer.class, Byte.class});
         

        Metadata

        • Field: 'subitem_local_name'
        • Signature: 'char*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__subitem_reference_index

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

        Field Documentation

        Blender Python API

        (read-only) Used to handle insertions into collection

        Pointer Arithmetics

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

         IDOverrideLibraryPropertyOperation idoverridelibrarypropertyoperation = ...;
         CPointer<Object> p = idoverridelibrarypropertyoperation.__dna__addressof(IDOverrideLibraryPropertyOperation.__DNA__FIELD__subitem_reference_index);
         CPointer<Integer> p_subitem_reference_index = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'subitem_reference_index'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__subitem_local_index

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

        Field Documentation

        Blender Python API

        (read-only) Used to handle insertions into collection

        Pointer Arithmetics

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

         IDOverrideLibraryPropertyOperation idoverridelibrarypropertyoperation = ...;
         CPointer<Object> p = idoverridelibrarypropertyoperation.__dna__addressof(IDOverrideLibraryPropertyOperation.__DNA__FIELD__subitem_local_index);
         CPointer<Integer> p_subitem_local_index = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'subitem_local_index'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
    • Constructor Detail

      • IDOverrideLibraryPropertyOperation

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

      • getOperation

        public short getOperation()
                           throws java.io.IOException
        Get method for struct member 'operation'.

        Field Documentation

        Blender Python API

        (read-only) What override operation is performed

        Blender Source Code

        Type of override.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__operation
      • setOperation

        public void setOperation​(short operation)
                          throws java.io.IOException
        Set method for struct member 'operation'.

        Field Documentation

        Blender Python API

        (read-only) What override operation is performed

        Blender Source Code

        Type of override.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__operation
      • getFlag

        public short getFlag()
                      throws java.io.IOException
        Get method for struct member 'flag'.

        Field Documentation

        Blender Python API

        (read-only) Optional flags (NOT USED)
        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'.

        Field Documentation

        Blender Python API

        (read-only) Optional flags (NOT USED)
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__flag
      • getTag

        public short getTag()
                     throws java.io.IOException
        Get method for struct member 'tag'.

        Field Documentation

        Blender Source Code

        Runtime, tags are common to both IDOverrideProperty and IDOverridePropertyOperation.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__tag
      • setTag

        public void setTag​(short tag)
                    throws java.io.IOException
        Set method for struct member 'tag'.

        Field Documentation

        Blender Source Code

        Runtime, tags are common to both IDOverrideProperty and IDOverridePropertyOperation.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__tag
      • get_pad0

        public CArrayFacade<java.lang.Byte> get_pad0()
                                              throws java.io.IOException
        Get method for struct member '_pad0'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD___pad0
      • set_pad0

        public void set_pad0​(CArrayFacade<java.lang.Byte> _pad0)
                      throws java.io.IOException
        Set method for struct member '_pad0'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD___pad0
      • getSubitem_reference_name

        public CPointer<java.lang.Byte> getSubitem_reference_name()
                                                           throws java.io.IOException
        Get method for struct member 'subitem_reference_name'.

        Field Documentation

        Blender Python API

        (read-only) Used to handle insertions into collection

        Blender Source Code

        Sub-item references, if needed (for arrays or collections only). We need both reference and local values to allow e.g. insertion into RNA collections (constraints, modifiers...). In RNA collection case, if names are defined, they are used in priority. Names are pointers (instead of char[64]) to save some space, NULL or empty string when unset. Indices are -1 when unset.

        NOTE: For insertion operations in RNA collections, reference may not actually exist in the linked reference data. It is used to identify the anchor of the insertion operation (i.e. the item after or before which the new local item should be inserted), in the local override.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__subitem_reference_name
      • setSubitem_reference_name

        public void setSubitem_reference_name​(CPointer<java.lang.Byte> subitem_reference_name)
                                       throws java.io.IOException
        Set method for struct member 'subitem_reference_name'.

        Field Documentation

        Blender Python API

        (read-only) Used to handle insertions into collection

        Blender Source Code

        Sub-item references, if needed (for arrays or collections only). We need both reference and local values to allow e.g. insertion into RNA collections (constraints, modifiers...). In RNA collection case, if names are defined, they are used in priority. Names are pointers (instead of char[64]) to save some space, NULL or empty string when unset. Indices are -1 when unset.

        NOTE: For insertion operations in RNA collections, reference may not actually exist in the linked reference data. It is used to identify the anchor of the insertion operation (i.e. the item after or before which the new local item should be inserted), in the local override.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__subitem_reference_name
      • getSubitem_local_name

        public CPointer<java.lang.Byte> getSubitem_local_name()
                                                       throws java.io.IOException
        Get method for struct member 'subitem_local_name'.

        Field Documentation

        Blender Python API

        (read-only) Used to handle insertions into collection
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__subitem_local_name
      • setSubitem_local_name

        public void setSubitem_local_name​(CPointer<java.lang.Byte> subitem_local_name)
                                   throws java.io.IOException
        Set method for struct member 'subitem_local_name'.

        Field Documentation

        Blender Python API

        (read-only) Used to handle insertions into collection
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__subitem_local_name
      • getSubitem_reference_index

        public int getSubitem_reference_index()
                                       throws java.io.IOException
        Get method for struct member 'subitem_reference_index'.

        Field Documentation

        Blender Python API

        (read-only) Used to handle insertions into collection
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__subitem_reference_index
      • setSubitem_reference_index

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

        Field Documentation

        Blender Python API

        (read-only) Used to handle insertions into collection
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__subitem_reference_index
      • getSubitem_local_index

        public int getSubitem_local_index()
                                   throws java.io.IOException
        Get method for struct member 'subitem_local_index'.

        Field Documentation

        Blender Python API

        (read-only) Used to handle insertions into collection
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__subitem_local_index
      • setSubitem_local_index

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

        Field Documentation

        Blender Python API

        (read-only) Used to handle insertions into collection
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__subitem_local_index