Class bGPgrid


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

    Class Documentation

    Blender Source Code

    grid configuration

    • Field Detail

      • __DNA__SDNA_INDEX

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

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

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

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

        Pointer Arithmetics

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

         bGPgrid bgpgrid = ...;
         CPointer<Object> p = bgpgrid.__dna__addressof(bGPgrid.__DNA__FIELD__color);
         CPointer<CArrayFacade<Float>> p_color = p.cast(new Class[]{CArrayFacade.class, Float.class});
         

        Metadata

        • Field: 'color'
        • Signature: 'float[3]'
        • Actual Size (32bit/64bit): 12/12
      • __DNA__FIELD__scale

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

        Pointer Arithmetics

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

         bGPgrid bgpgrid = ...;
         CPointer<Object> p = bgpgrid.__dna__addressof(bGPgrid.__DNA__FIELD__scale);
         CPointer<CArrayFacade<Float>> p_scale = p.cast(new Class[]{CArrayFacade.class, Float.class});
         

        Metadata

        • Field: 'scale'
        • Signature: 'float[2]'
        • Actual Size (32bit/64bit): 8/8
      • __DNA__FIELD__offset

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

        Pointer Arithmetics

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

         bGPgrid bgpgrid = ...;
         CPointer<Object> p = bgpgrid.__dna__addressof(bGPgrid.__DNA__FIELD__offset);
         CPointer<CArrayFacade<Float>> p_offset = p.cast(new Class[]{CArrayFacade.class, Float.class});
         

        Metadata

        • Field: 'offset'
        • Signature: 'float[2]'
        • Actual Size (32bit/64bit): 8/8
      • __DNA__FIELD___pad1

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

        Pointer Arithmetics

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

         bGPgrid bgpgrid = ...;
         CPointer<Object> p = bgpgrid.__dna__addressof(bGPgrid.__DNA__FIELD___pad1);
         CPointer<CArrayFacade<Byte>> p__pad1 = p.cast(new Class[]{CArrayFacade.class, Byte.class});
         

        Metadata

        • Field: '_pad1'
        • Signature: 'char[4]'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__lines

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

        Pointer Arithmetics

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

         bGPgrid bgpgrid = ...;
         CPointer<Object> p = bgpgrid.__dna__addressof(bGPgrid.__DNA__FIELD__lines);
         CPointer<Integer> p_lines = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'lines'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __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:

         bGPgrid bgpgrid = ...;
         CPointer<Object> p = bgpgrid.__dna__addressof(bGPgrid.__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

      • bGPgrid

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

        protected bGPgrid​(bGPgrid that)
    • Method Detail

      • getColor

        public CArrayFacade<java.lang.Float> getColor()
                                               throws java.io.IOException
        Get method for struct member 'color'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__color
      • setColor

        public void setColor​(CArrayFacade<java.lang.Float> color)
                      throws java.io.IOException
        Set method for struct member 'color'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__color
      • getScale

        public CArrayFacade<java.lang.Float> getScale()
                                               throws java.io.IOException
        Get method for struct member 'scale'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__scale
      • setScale

        public void setScale​(CArrayFacade<java.lang.Float> scale)
                      throws java.io.IOException
        Set method for struct member 'scale'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__scale
      • getOffset

        public CArrayFacade<java.lang.Float> getOffset()
                                                throws java.io.IOException
        Get method for struct member 'offset'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__offset
      • setOffset

        public void setOffset​(CArrayFacade<java.lang.Float> offset)
                       throws java.io.IOException
        Set method for struct member 'offset'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__offset
      • get_pad1

        public CArrayFacade<java.lang.Byte> get_pad1()
                                              throws java.io.IOException
        Get method for struct member '_pad1'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD___pad1
      • set_pad1

        public void set_pad1​(CArrayFacade<java.lang.Byte> _pad1)
                      throws java.io.IOException
        Set method for struct member '_pad1'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD___pad1
      • getLines

        public int getLines()
                     throws java.io.IOException
        Get method for struct member 'lines'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__lines
      • setLines

        public void setLines​(int lines)
                      throws java.io.IOException
        Set method for struct member 'lines'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__lines
      • 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<bGPgrid> __io__addressof()
        Instantiates a pointer on this instance.