Class IDViewerPathElem


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

    Class Documentation

    • Field Detail

      • __DNA__SDNA_INDEX

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

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

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

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

        Pointer Arithmetics

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

         IDViewerPathElem idviewerpathelem = ...;
         CPointer<Object> p = idviewerpathelem.__dna__addressof(IDViewerPathElem.__DNA__FIELD__base);
         CPointer<ViewerPathElem> p_base = p.cast(new Class[]{ViewerPathElem.class});
         

        Metadata

        • Field: 'base'
        • Signature: 'ViewerPathElem'
        • Actual Size (32bit/64bit): 16/24
      • __DNA__FIELD__id

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

        Field Documentation

        Blender Python API

        (read-only)

        Pointer Arithmetics

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

         IDViewerPathElem idviewerpathelem = ...;
         CPointer<Object> p = idviewerpathelem.__dna__addressof(IDViewerPathElem.__DNA__FIELD__id);
         CPointer<CPointer<ID>> p_id = p.cast(new Class[]{CPointer.class, ID.class});
         

        Metadata

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

      • IDViewerPathElem

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

      • getBase

        public ViewerPathElem getBase()
                               throws java.io.IOException
        Get method for struct member 'base'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__base
      • setBase

        public void setBase​(ViewerPathElem base)
                     throws java.io.IOException
        Set method for struct member 'base'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__base
      • getId

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

        Field Documentation

        Blender Python API

        (read-only)
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__id
      • setId

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

        Field Documentation

        Blender Python API

        (read-only)
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__id