Class VPaint


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

    Class Documentation

    Blender Source Code


    Vertex Paint Vertex Paint

    • Field Detail

      • __DNA__SDNA_INDEX

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

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

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

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

        Pointer Arithmetics

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

         VPaint vpaint = ...;
         CPointer<Object> p = vpaint.__dna__addressof(VPaint.__DNA__FIELD__paint);
         CPointer<Paint> p_paint = p.cast(new Class[]{Paint.class});
         

        Metadata

        • Field: 'paint'
        • Signature: 'Paint'
        • Actual Size (32bit/64bit): 68/88
      • __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:

         VPaint vpaint = ...;
         CPointer<Object> p = vpaint.__dna__addressof(VPaint.__DNA__FIELD__flag);
         CPointer<Byte> p_flag = p.cast(new Class[]{Byte.class});
         

        Metadata

        • Field: 'flag'
        • Signature: 'char'
        • Actual Size (32bit/64bit): 1/1
      • __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:

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

        Metadata

        • Field: '_pad'
        • Signature: 'char[3]'
        • Actual Size (32bit/64bit): 3/3
      • __DNA__FIELD__radial_symm

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

        Field Documentation

        Blender Source Code

        For mirrored painting.

        Pointer Arithmetics

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

         VPaint vpaint = ...;
         CPointer<Object> p = vpaint.__dna__addressof(VPaint.__DNA__FIELD__radial_symm);
         CPointer<CArrayFacade<Integer>> p_radial_symm = p.cast(new Class[]{CArrayFacade.class, Integer.class});
         

        Metadata

        • Field: 'radial_symm'
        • Signature: 'int[3]'
        • Actual Size (32bit/64bit): 12/12
    • Constructor Detail

      • VPaint

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

        protected VPaint​(VPaint that)
    • Method Detail

      • getPaint

        public Paint getPaint()
                       throws java.io.IOException
        Get method for struct member 'paint'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__paint
      • setPaint

        public void setPaint​(Paint paint)
                      throws java.io.IOException
        Set method for struct member 'paint'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__paint
      • getFlag

        public byte getFlag()
                     throws java.io.IOException
        Get method for struct member 'flag'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__flag
      • setFlag

        public void setFlag​(byte 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
      • getRadial_symm

        public CArrayFacade<java.lang.Integer> getRadial_symm()
                                                       throws java.io.IOException
        Get method for struct member 'radial_symm'.

        Field Documentation

        Blender Source Code

        For mirrored painting.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__radial_symm
      • setRadial_symm

        public void setRadial_symm​(CArrayFacade<java.lang.Integer> radial_symm)
                            throws java.io.IOException
        Set method for struct member 'radial_symm'.

        Field Documentation

        Blender Source Code

        For mirrored painting.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__radial_symm
      • __io__addressof

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