Class ScrEdge


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

    Class Documentation

    • Field Detail

      • __DNA__SDNA_INDEX

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

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

        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:

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

        Metadata

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

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

        Metadata

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

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

        Pointer Arithmetics

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

         ScrEdge scredge = ...;
         CPointer<Object> p = scredge.__dna__addressof(ScrEdge.__DNA__FIELD__v1);
         CPointer<CPointer<ScrVert>> p_v1 = p.cast(new Class[]{CPointer.class, ScrVert.class});
         

        Metadata

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

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

        Pointer Arithmetics

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

         ScrEdge scredge = ...;
         CPointer<Object> p = scredge.__dna__addressof(ScrEdge.__DNA__FIELD__v2);
         CPointer<CPointer<ScrVert>> p_v2 = p.cast(new Class[]{CPointer.class, ScrVert.class});
         

        Metadata

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

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

        Field Documentation

        Blender Source Code

        1 when at edge of screen.

        Pointer Arithmetics

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

         ScrEdge scredge = ...;
         CPointer<Object> p = scredge.__dna__addressof(ScrEdge.__DNA__FIELD__border);
         CPointer<Short> p_border = p.cast(new Class[]{Short.class});
         

        Metadata

        • Field: 'border'
        • 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'.

        Pointer Arithmetics

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

         ScrEdge scredge = ...;
         CPointer<Object> p = scredge.__dna__addressof(ScrEdge.__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___pad

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

        Pointer Arithmetics

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

         ScrEdge scredge = ...;
         CPointer<Object> p = scredge.__dna__addressof(ScrEdge.__DNA__FIELD___pad);
         CPointer<CArrayFacade<Byte>> p__pad = p.cast(new Class[]{CArrayFacade.class, Byte.class});
         

        Metadata

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

      • ScrEdge

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

        protected ScrEdge​(ScrEdge that)
    • Method Detail

      • getNext

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

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

        public CPointer<ScrVert> getV1()
                                throws java.io.IOException
        Get method for struct member 'v1'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__v1
      • setV1

        public void setV1​(CPointer<ScrVert> v1)
                   throws java.io.IOException
        Set method for struct member 'v1'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__v1
      • getV2

        public CPointer<ScrVert> getV2()
                                throws java.io.IOException
        Get method for struct member 'v2'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__v2
      • setV2

        public void setV2​(CPointer<ScrVert> v2)
                   throws java.io.IOException
        Set method for struct member 'v2'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__v2
      • getBorder

        public short getBorder()
                        throws java.io.IOException
        Get method for struct member 'border'.

        Field Documentation

        Blender Source Code

        1 when at edge of screen.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__border
      • setBorder

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

        Field Documentation

        Blender Source Code

        1 when at edge of screen.

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

        public short getFlag()
                      throws java.io.IOException
        Get method for struct member 'flag'.
        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'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__flag
      • get_pad

        public CArrayFacade<java.lang.Byte> get_pad()
                                             throws java.io.IOException
        Get method for struct member '_pad'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD___pad
      • set_pad

        public void set_pad​(CArrayFacade<java.lang.Byte> _pad)
                     throws java.io.IOException
        Set method for struct member '_pad'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD___pad
      • __io__addressof

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