Class PaintCurvePoint


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

    Class Documentation

    • Field Detail

      • __DNA__SDNA_INDEX

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

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

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

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

        Field Documentation

        Blender Source Code

        Bezier handle.

        Pointer Arithmetics

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

         PaintCurvePoint paintcurvepoint = ...;
         CPointer<Object> p = paintcurvepoint.__dna__addressof(PaintCurvePoint.__DNA__FIELD__bez);
         CPointer<BezTriple> p_bez = p.cast(new Class[]{BezTriple.class});
         

        Metadata

        • Field: 'bez'
        • 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 on that point.

        Pointer Arithmetics

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

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

        Metadata

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

      • PaintCurvePoint

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

      • getBez

        public BezTriple getBez()
                         throws java.io.IOException
        Get method for struct member 'bez'.

        Field Documentation

        Blender Source Code

        Bezier handle.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__bez
      • setBez

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

        Field Documentation

        Blender Source Code

        Bezier handle.

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

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

        Field Documentation

        Blender Source Code

        Pressure on that 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 on that point.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__pressure