Class bGPDcurve


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

    Class Documentation

    Blender Source Code


    GP Curve Curve for Bezier Editing .

    • Field Detail

      • __DNA__SDNA_INDEX

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

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

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

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

        Field Documentation

        Blender Source Code

        Array of BezTriple .

        Pointer Arithmetics

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

         bGPDcurve bgpdcurve = ...;
         CPointer<Object> p = bgpdcurve.__dna__addressof(bGPDcurve.__DNA__FIELD__curve_points);
         CPointer<CPointer<bGPDcurve_point>> p_curve_points = p.cast(new Class[]{CPointer.class, bGPDcurve_point.class});
         

        Metadata

        • Field: 'curve_points'
        • Signature: 'bGPDcurve_point*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__tot_curve_points

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

        Field Documentation

        Blender Source Code

        Total number of curve points.

        Pointer Arithmetics

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

         bGPDcurve bgpdcurve = ...;
         CPointer<Object> p = bgpdcurve.__dna__addressof(bGPDcurve.__DNA__FIELD__tot_curve_points);
         CPointer<Integer> p_tot_curve_points = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'tot_curve_points'
        • Signature: 'int'
        • 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

        General flag.

        Pointer Arithmetics

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

         bGPDcurve bgpdcurve = ...;
         CPointer<Object> p = bgpdcurve.__dna__addressof(bGPDcurve.__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:

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

        Metadata

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

      • bGPDcurve

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

        protected bGPDcurve​(bGPDcurve that)
    • Method Detail

      • getTot_curve_points

        public int getTot_curve_points()
                                throws java.io.IOException
        Get method for struct member 'tot_curve_points'.

        Field Documentation

        Blender Source Code

        Total number of curve points.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__tot_curve_points
      • setTot_curve_points

        public void setTot_curve_points​(int tot_curve_points)
                                 throws java.io.IOException
        Set method for struct member 'tot_curve_points'.

        Field Documentation

        Blender Source Code

        Total number of curve points.

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

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

        Field Documentation

        Blender Source Code

        General 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'.

        Field Documentation

        Blender Source Code

        General 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<bGPDcurve> __io__addressof()
        Instantiates a pointer on this instance.