Class ScrVert


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

    Class Documentation

    • Field Detail

      • __DNA__SDNA_INDEX

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

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

        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:

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

        Metadata

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

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

        Metadata

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

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

        Pointer Arithmetics

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

         ScrVert scrvert = ...;
         CPointer<Object> p = scrvert.__dna__addressof(ScrVert.__DNA__FIELD__newv);
         CPointer<CPointer<ScrVert>> p_newv = p.cast(new Class[]{CPointer.class, ScrVert.class});
         

        Metadata

        • Field: 'newv'
        • Signature: 'ScrVert*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__vec

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

        Pointer Arithmetics

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

         ScrVert scrvert = ...;
         CPointer<Object> p = scrvert.__dna__addressof(ScrVert.__DNA__FIELD__vec);
         CPointer<vec2s> p_vec = p.cast(new Class[]{vec2s.class});
         

        Metadata

        • Field: 'vec'
        • Signature: 'vec2s'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__flag

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

        Field Documentation

        Blender Source Code

        first one used internally, second one for tools

        Pointer Arithmetics

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

         ScrVert scrvert = ...;
         CPointer<Object> p = scrvert.__dna__addressof(ScrVert.__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__editflag

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

        Pointer Arithmetics

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

         ScrVert scrvert = ...;
         CPointer<Object> p = scrvert.__dna__addressof(ScrVert.__DNA__FIELD__editflag);
         CPointer<Short> p_editflag = p.cast(new Class[]{Short.class});
         

        Metadata

        • Field: 'editflag'
        • Signature: 'short'
        • Actual Size (32bit/64bit): 2/2
    • Constructor Detail

      • ScrVert

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

        protected ScrVert​(ScrVert that)
    • Method Detail

      • getNext

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

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

        public CPointer<ScrVert> getNewv()
                                  throws java.io.IOException
        Get method for struct member 'newv'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__newv
      • setNewv

        public void setNewv​(CPointer<ScrVert> newv)
                     throws java.io.IOException
        Set method for struct member 'newv'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__newv
      • getVec

        public vec2s getVec()
                     throws java.io.IOException
        Get method for struct member 'vec'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__vec
      • setVec

        public void setVec​(vec2s vec)
                    throws java.io.IOException
        Set method for struct member 'vec'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__vec
      • getFlag

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

        Field Documentation

        Blender Source Code

        first one used internally, second one for tools

        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 Source Code

        first one used internally, second one for tools

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__flag
      • getEditflag

        public short getEditflag()
                          throws java.io.IOException
        Get method for struct member 'editflag'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__editflag
      • setEditflag

        public void setEditflag​(short editflag)
                         throws java.io.IOException
        Set method for struct member 'editflag'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__editflag
      • __io__addressof

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