Class MaskSpline


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

    Class Documentation

    • Field Detail

      • __DNA__SDNA_INDEX

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

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

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

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

        Pointer Arithmetics

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

         MaskSpline maskspline = ...;
         CPointer<Object> p = maskspline.__dna__addressof(MaskSpline.__DNA__FIELD__next);
         CPointer<CPointer<MaskSpline>> p_next = p.cast(new Class[]{CPointer.class, MaskSpline.class});
         

        Metadata

        • Field: 'next'
        • Signature: 'MaskSpline*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__prev

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

        Pointer Arithmetics

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

         MaskSpline maskspline = ...;
         CPointer<Object> p = maskspline.__dna__addressof(MaskSpline.__DNA__FIELD__prev);
         CPointer<CPointer<MaskSpline>> p_prev = p.cast(new Class[]{CPointer.class, MaskSpline.class});
         

        Metadata

        • Field: 'prev'
        • Signature: 'MaskSpline*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__flag

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

        Field Documentation

        Blender Source Code

        Different spline flag (closed, ...).

        Pointer Arithmetics

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

         MaskSpline maskspline = ...;
         CPointer<Object> p = maskspline.__dna__addressof(MaskSpline.__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__offset_mode

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

        Field Documentation

        Blender Python API

        The method used for calculating the feather offset

        Blender Source Code

        Feather offset method.

        Pointer Arithmetics

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

         MaskSpline maskspline = ...;
         CPointer<Object> p = maskspline.__dna__addressof(MaskSpline.__DNA__FIELD__offset_mode);
         CPointer<Byte> p_offset_mode = p.cast(new Class[]{Byte.class});
         

        Metadata

        • Field: 'offset_mode'
        • Signature: 'char'
        • Actual Size (32bit/64bit): 1/1
      • __DNA__FIELD__weight_interp

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

        Field Documentation

        Blender Source Code

        Weight interpolation.

        Pointer Arithmetics

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

         MaskSpline maskspline = ...;
         CPointer<Object> p = maskspline.__dna__addressof(MaskSpline.__DNA__FIELD__weight_interp);
         CPointer<Byte> p_weight_interp = p.cast(new Class[]{Byte.class});
         

        Metadata

        • Field: 'weight_interp'
        • Signature: 'char'
        • Actual Size (32bit/64bit): 1/1
      • __DNA__FIELD__tot_point

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

        Field Documentation

        Blender Source Code

        Total number of points.

        Pointer Arithmetics

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

         MaskSpline maskspline = ...;
         CPointer<Object> p = maskspline.__dna__addressof(MaskSpline.__DNA__FIELD__tot_point);
         CPointer<Integer> p_tot_point = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'tot_point'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__points

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

        Field Documentation

        Blender Python API

        (read-only) Collection of points

        Blender Source Code

        Points which defines spline itself.

        Pointer Arithmetics

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

         MaskSpline maskspline = ...;
         CPointer<Object> p = maskspline.__dna__addressof(MaskSpline.__DNA__FIELD__points);
         CPointer<CPointer<MaskSplinePoint>> p_points = p.cast(new Class[]{CPointer.class, MaskSplinePoint.class});
         

        Metadata

        • Field: 'points'
        • Signature: 'MaskSplinePoint*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__parent

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

        Field Documentation

        Blender Source Code

        Parenting information of the whole spline.

        Pointer Arithmetics

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

         MaskSpline maskspline = ...;
         CPointer<Object> p = maskspline.__dna__addressof(MaskSpline.__DNA__FIELD__parent);
         CPointer<MaskParent> p_parent = p.cast(new Class[]{MaskParent.class});
         

        Metadata

        • Field: 'parent'
        • Signature: 'MaskParent'
        • Actual Size (32bit/64bit): 180/184
      • __DNA__FIELD__points_deform

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

        Field Documentation

        Blender Source Code

        Deformed copy of 'points' BezTriple data - not saved.

        Pointer Arithmetics

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

         MaskSpline maskspline = ...;
         CPointer<Object> p = maskspline.__dna__addressof(MaskSpline.__DNA__FIELD__points_deform);
         CPointer<CPointer<MaskSplinePoint>> p_points_deform = p.cast(new Class[]{CPointer.class, MaskSplinePoint.class});
         

        Metadata

        • Field: 'points_deform'
        • Signature: 'MaskSplinePoint*'
        • Actual Size (32bit/64bit): 4/8
    • Constructor Detail

      • MaskSpline

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

        protected MaskSpline​(MaskSpline that)
    • Method Detail

      • setNext

        public void setNext​(CPointer<MaskSpline> next)
                     throws java.io.IOException
        Set method for struct member 'next'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__next
      • setPrev

        public void setPrev​(CPointer<MaskSpline> prev)
                     throws java.io.IOException
        Set method for struct member 'prev'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__prev
      • getFlag

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

        Field Documentation

        Blender Source Code

        Different spline flag (closed, ...).

        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

        Different spline flag (closed, ...).

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

        public byte getOffset_mode()
                            throws java.io.IOException
        Get method for struct member 'offset_mode'.

        Field Documentation

        Blender Python API

        The method used for calculating the feather offset

        Blender Source Code

        Feather offset method.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__offset_mode
      • setOffset_mode

        public void setOffset_mode​(byte offset_mode)
                            throws java.io.IOException
        Set method for struct member 'offset_mode'.

        Field Documentation

        Blender Python API

        The method used for calculating the feather offset

        Blender Source Code

        Feather offset method.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__offset_mode
      • getWeight_interp

        public byte getWeight_interp()
                              throws java.io.IOException
        Get method for struct member 'weight_interp'.

        Field Documentation

        Blender Source Code

        Weight interpolation.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__weight_interp
      • setWeight_interp

        public void setWeight_interp​(byte weight_interp)
                              throws java.io.IOException
        Set method for struct member 'weight_interp'.

        Field Documentation

        Blender Source Code

        Weight interpolation.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__weight_interp
      • getTot_point

        public int getTot_point()
                         throws java.io.IOException
        Get method for struct member 'tot_point'.

        Field Documentation

        Blender Source Code

        Total number of points.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__tot_point
      • setTot_point

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

        Field Documentation

        Blender Source Code

        Total number of points.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__tot_point
      • getPoints

        public CPointer<MaskSplinePoint> getPoints()
                                            throws java.io.IOException
        Get method for struct member 'points'.

        Field Documentation

        Blender Python API

        (read-only) Collection of points

        Blender Source Code

        Points which defines spline itself.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__points
      • setPoints

        public void setPoints​(CPointer<MaskSplinePoint> points)
                       throws java.io.IOException
        Set method for struct member 'points'.

        Field Documentation

        Blender Python API

        (read-only) Collection of points

        Blender Source Code

        Points which defines spline itself.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__points
      • getParent

        public MaskParent getParent()
                             throws java.io.IOException
        Get method for struct member 'parent'.

        Field Documentation

        Blender Source Code

        Parenting information of the whole spline.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__parent
      • setParent

        public void setParent​(MaskParent parent)
                       throws java.io.IOException
        Set method for struct member 'parent'.

        Field Documentation

        Blender Source Code

        Parenting information of the whole spline.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__parent
      • getPoints_deform

        public CPointer<MaskSplinePoint> getPoints_deform()
                                                   throws java.io.IOException
        Get method for struct member 'points_deform'.

        Field Documentation

        Blender Source Code

        Deformed copy of 'points' BezTriple data - not saved.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__points_deform
      • setPoints_deform

        public void setPoints_deform​(CPointer<MaskSplinePoint> points_deform)
                              throws java.io.IOException
        Set method for struct member 'points_deform'.

        Field Documentation

        Blender Source Code

        Deformed copy of 'points' BezTriple data - not saved.

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

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