Class WipeVars


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

    Class Documentation

    • Field Detail

      • __DNA__SDNA_INDEX

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

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

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

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

        Pointer Arithmetics

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

         WipeVars wipevars = ...;
         CPointer<Object> p = wipevars.__dna__addressof(WipeVars.__DNA__FIELD__edgeWidth);
         CPointer<Float> p_edgeWidth = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'edgeWidth'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__angle

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

        Pointer Arithmetics

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

         WipeVars wipevars = ...;
         CPointer<Object> p = wipevars.__dna__addressof(WipeVars.__DNA__FIELD__angle);
         CPointer<Float> p_angle = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'angle'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__forward

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

        Pointer Arithmetics

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

         WipeVars wipevars = ...;
         CPointer<Object> p = wipevars.__dna__addressof(WipeVars.__DNA__FIELD__forward);
         CPointer<Short> p_forward = p.cast(new Class[]{Short.class});
         

        Metadata

        • Field: 'forward'
        • Signature: 'short'
        • Actual Size (32bit/64bit): 2/2
      • __DNA__FIELD__wipetype

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

        Pointer Arithmetics

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

         WipeVars wipevars = ...;
         CPointer<Object> p = wipevars.__dna__addressof(WipeVars.__DNA__FIELD__wipetype);
         CPointer<Short> p_wipetype = p.cast(new Class[]{Short.class});
         

        Metadata

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

      • WipeVars

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

        protected WipeVars​(WipeVars that)
    • Method Detail

      • getEdgeWidth

        public float getEdgeWidth()
                           throws java.io.IOException
        Get method for struct member 'edgeWidth'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__edgeWidth
      • setEdgeWidth

        public void setEdgeWidth​(float edgeWidth)
                          throws java.io.IOException
        Set method for struct member 'edgeWidth'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__edgeWidth
      • getAngle

        public float getAngle()
                       throws java.io.IOException
        Get method for struct member 'angle'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__angle
      • setAngle

        public void setAngle​(float angle)
                      throws java.io.IOException
        Set method for struct member 'angle'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__angle
      • getForward

        public short getForward()
                         throws java.io.IOException
        Get method for struct member 'forward'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__forward
      • setForward

        public void setForward​(short forward)
                        throws java.io.IOException
        Set method for struct member 'forward'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__forward
      • getWipetype

        public short getWipetype()
                          throws java.io.IOException
        Get method for struct member 'wipetype'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__wipetype
      • setWipetype

        public void setWipetype​(short wipetype)
                         throws java.io.IOException
        Set method for struct member 'wipetype'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__wipetype
      • __io__addressof

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