Class bGPDcurve_point


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

    Class Documentation

    Blender Source Code


    GP Curve Point

    • Field Detail

      • __DNA__SDNA_INDEX

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

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

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

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

        Field Documentation

        Blender Source Code

        Bezier Triple for the handles and control points.

        Pointer Arithmetics

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

         bGPDcurve_point bgpdcurve_point = ...;
         CPointer<Object> p = bgpdcurve_point.__dna__addressof(bGPDcurve_point.__DNA__FIELD__bezt);
         CPointer<BezTriple> p_bezt = p.cast(new Class[]{BezTriple.class});
         

        Metadata

        • Field: 'bezt'
        • Signature: 'BezTriple'
        • Actual Size (32bit/64bit): 72/72
      • __DNA__FIELD__pressure

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

        Field Documentation

        Blender Source Code

        Pressure of input device (from 0 to 1) at this point.

        Pointer Arithmetics

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

         bGPDcurve_point bgpdcurve_point = ...;
         CPointer<Object> p = bgpdcurve_point.__dna__addressof(bGPDcurve_point.__DNA__FIELD__pressure);
         CPointer<Float> p_pressure = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'pressure'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__strength

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

        Field Documentation

        Blender Source Code

        Color strength (used for alpha factor).

        Pointer Arithmetics

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

         bGPDcurve_point bgpdcurve_point = ...;
         CPointer<Object> p = bgpdcurve_point.__dna__addressof(bGPDcurve_point.__DNA__FIELD__strength);
         CPointer<Float> p_strength = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'strength'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__point_index

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

        Field Documentation

        Blender Source Code

        Index of corresponding point in gps->points.

        Pointer Arithmetics

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

         bGPDcurve_point bgpdcurve_point = ...;
         CPointer<Object> p = bgpdcurve_point.__dna__addressof(bGPDcurve_point.__DNA__FIELD__point_index);
         CPointer<Integer> p_point_index = p.cast(new Class[]{Integer.class});
         

        Metadata

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

        Additional options.

        Pointer Arithmetics

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

         bGPDcurve_point bgpdcurve_point = ...;
         CPointer<Object> p = bgpdcurve_point.__dna__addressof(bGPDcurve_point.__DNA__FIELD__flag);
         CPointer<Integer> p_flag = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'flag'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__uv_fac

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

        Field Documentation

        Blender Source Code

        Factor of uv along the stroke.

        Pointer Arithmetics

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

         bGPDcurve_point bgpdcurve_point = ...;
         CPointer<Object> p = bgpdcurve_point.__dna__addressof(bGPDcurve_point.__DNA__FIELD__uv_fac);
         CPointer<Float> p_uv_fac = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'uv_fac'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__uv_rot

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

        Field Documentation

        Blender Source Code

        Uv rotation for dot mode.

        Pointer Arithmetics

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

         bGPDcurve_point bgpdcurve_point = ...;
         CPointer<Object> p = bgpdcurve_point.__dna__addressof(bGPDcurve_point.__DNA__FIELD__uv_rot);
         CPointer<Float> p_uv_rot = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'uv_rot'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__uv_fill

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

        Field Documentation

        Blender Source Code

        Uv for fill mode.

        Pointer Arithmetics

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

         bGPDcurve_point bgpdcurve_point = ...;
         CPointer<Object> p = bgpdcurve_point.__dna__addressof(bGPDcurve_point.__DNA__FIELD__uv_fill);
         CPointer<CArrayFacade<Float>> p_uv_fill = p.cast(new Class[]{CArrayFacade.class, Float.class});
         

        Metadata

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

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

        Field Documentation

        Blender Source Code

        Vertex Color RGBA (A=mix factor).

        Pointer Arithmetics

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

         bGPDcurve_point bgpdcurve_point = ...;
         CPointer<Object> p = bgpdcurve_point.__dna__addressof(bGPDcurve_point.__DNA__FIELD__vert_color);
         CPointer<CArrayFacade<Float>> p_vert_color = p.cast(new Class[]{CArrayFacade.class, Float.class});
         

        Metadata

        • Field: 'vert_color'
        • Signature: 'float[4]'
        • Actual Size (32bit/64bit): 16/16
      • __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_point bgpdcurve_point = ...;
         CPointer<Object> p = bgpdcurve_point.__dna__addressof(bGPDcurve_point.__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

      • bGPDcurve_point

        public bGPDcurve_point​(long __address,
                               Block __block,
                               BlockTable __blockTable)
    • Method Detail

      • getBezt

        public BezTriple getBezt()
                          throws java.io.IOException
        Get method for struct member 'bezt'.

        Field Documentation

        Blender Source Code

        Bezier Triple for the handles and control points.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__bezt
      • setBezt

        public void setBezt​(BezTriple bezt)
                     throws java.io.IOException
        Set method for struct member 'bezt'.

        Field Documentation

        Blender Source Code

        Bezier Triple for the handles and control points.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__bezt
      • getPressure

        public float getPressure()
                          throws java.io.IOException
        Get method for struct member 'pressure'.

        Field Documentation

        Blender Source Code

        Pressure of input device (from 0 to 1) at this point.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__pressure
      • setPressure

        public void setPressure​(float pressure)
                         throws java.io.IOException
        Set method for struct member 'pressure'.

        Field Documentation

        Blender Source Code

        Pressure of input device (from 0 to 1) at this point.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__pressure
      • getStrength

        public float getStrength()
                          throws java.io.IOException
        Get method for struct member 'strength'.

        Field Documentation

        Blender Source Code

        Color strength (used for alpha factor).

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__strength
      • setStrength

        public void setStrength​(float strength)
                         throws java.io.IOException
        Set method for struct member 'strength'.

        Field Documentation

        Blender Source Code

        Color strength (used for alpha factor).

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__strength
      • getPoint_index

        public int getPoint_index()
                           throws java.io.IOException
        Get method for struct member 'point_index'.

        Field Documentation

        Blender Source Code

        Index of corresponding point in gps->points.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__point_index
      • setPoint_index

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

        Field Documentation

        Blender Source Code

        Index of corresponding point in gps->points.

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

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

        Field Documentation

        Blender Source Code

        Additional options.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__flag
      • setFlag

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

        Field Documentation

        Blender Source Code

        Additional options.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__flag
      • getUv_fac

        public float getUv_fac()
                        throws java.io.IOException
        Get method for struct member 'uv_fac'.

        Field Documentation

        Blender Source Code

        Factor of uv along the stroke.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__uv_fac
      • setUv_fac

        public void setUv_fac​(float uv_fac)
                       throws java.io.IOException
        Set method for struct member 'uv_fac'.

        Field Documentation

        Blender Source Code

        Factor of uv along the stroke.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__uv_fac
      • getUv_rot

        public float getUv_rot()
                        throws java.io.IOException
        Get method for struct member 'uv_rot'.

        Field Documentation

        Blender Source Code

        Uv rotation for dot mode.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__uv_rot
      • setUv_rot

        public void setUv_rot​(float uv_rot)
                       throws java.io.IOException
        Set method for struct member 'uv_rot'.

        Field Documentation

        Blender Source Code

        Uv rotation for dot mode.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__uv_rot
      • getUv_fill

        public CArrayFacade<java.lang.Float> getUv_fill()
                                                 throws java.io.IOException
        Get method for struct member 'uv_fill'.

        Field Documentation

        Blender Source Code

        Uv for fill mode.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__uv_fill
      • setUv_fill

        public void setUv_fill​(CArrayFacade<java.lang.Float> uv_fill)
                        throws java.io.IOException
        Set method for struct member 'uv_fill'.

        Field Documentation

        Blender Source Code

        Uv for fill mode.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__uv_fill
      • getVert_color

        public CArrayFacade<java.lang.Float> getVert_color()
                                                    throws java.io.IOException
        Get method for struct member 'vert_color'.

        Field Documentation

        Blender Source Code

        Vertex Color RGBA (A=mix factor).

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__vert_color
      • setVert_color

        public void setVert_color​(CArrayFacade<java.lang.Float> vert_color)
                           throws java.io.IOException
        Set method for struct member 'vert_color'.

        Field Documentation

        Blender Source Code

        Vertex Color RGBA (A=mix factor).

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__vert_color
      • 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