Class bAddon


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

    Class Documentation

    • Field Detail

      • __DNA__SDNA_INDEX

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

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

        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:

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

        Metadata

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

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

        Metadata

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

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

        Pointer Arithmetics

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

         bAddon baddon = ...;
         CPointer<Object> p = baddon.__dna__addressof(bAddon.__DNA__FIELD__module);
         CPointer<CArrayFacade<Byte>> p_module = p.cast(new Class[]{CArrayFacade.class, Byte.class});
         

        Metadata

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

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

        Field Documentation

        Blender Source Code

        User-Defined Properties on this Addon (for storing preferences).

        Pointer Arithmetics

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

         bAddon baddon = ...;
         CPointer<Object> p = baddon.__dna__addressof(bAddon.__DNA__FIELD__prop);
         CPointer<CPointer<IDProperty>> p_prop = p.cast(new Class[]{CPointer.class, IDProperty.class});
         

        Metadata

        • Field: 'prop'
        • Signature: 'IDProperty*'
        • Actual Size (32bit/64bit): 4/8
    • Constructor Detail

      • bAddon

        public bAddon​(long __address,
                      Block __block,
                      BlockTable __blockTable)
      • bAddon

        protected bAddon​(bAddon that)
    • Method Detail

      • getNext

        public CPointer<bAddon> 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<bAddon> next)
                     throws java.io.IOException
        Set method for struct member 'next'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__next
      • getPrev

        public CPointer<bAddon> 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<bAddon> prev)
                     throws java.io.IOException
        Set method for struct member 'prev'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__prev
      • getModule

        public CArrayFacade<java.lang.Byte> getModule()
                                               throws java.io.IOException
        Get method for struct member 'module'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__module
      • setModule

        public void setModule​(CArrayFacade<java.lang.Byte> module)
                       throws java.io.IOException
        Set method for struct member 'module'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__module
      • getProp

        public CPointer<IDProperty> getProp()
                                     throws java.io.IOException
        Get method for struct member 'prop'.

        Field Documentation

        Blender Source Code

        User-Defined Properties on this Addon (for storing preferences).

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__prop
      • setProp

        public void setProp​(CPointer<IDProperty> prop)
                     throws java.io.IOException
        Set method for struct member 'prop'.

        Field Documentation

        Blender Source Code

        User-Defined Properties on this Addon (for storing preferences).

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__prop
      • __io__addressof

        public CPointer<bAddon> __io__addressof()
        Instantiates a pointer on this instance.