Class MaskSplinePointUW


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

    Class Documentation

    • Field Detail

      • __DNA__SDNA_INDEX

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

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

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

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

        Field Documentation

        Blender Python API

        U coordinate of point along spline segment

        Blender Source Code

        U coordinate along spline segment and weight of this point.

        Pointer Arithmetics

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

         MaskSplinePointUW masksplinepointuw = ...;
         CPointer<Object> p = masksplinepointuw.__dna__addressof(MaskSplinePointUW.__DNA__FIELD__u);
         CPointer<Float> p_u = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'u'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__w

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

        Pointer Arithmetics

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

         MaskSplinePointUW masksplinepointuw = ...;
         CPointer<Object> p = masksplinepointuw.__dna__addressof(MaskSplinePointUW.__DNA__FIELD__w);
         CPointer<Float> p_w = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'w'
        • Signature: 'float'
        • 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

        Different flags of this point.

        Pointer Arithmetics

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

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

        Metadata

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

      • MaskSplinePointUW

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

      • getU

        public float getU()
                   throws java.io.IOException
        Get method for struct member 'u'.

        Field Documentation

        Blender Python API

        U coordinate of point along spline segment

        Blender Source Code

        U coordinate along spline segment and weight of this point.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__u
      • setU

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

        Field Documentation

        Blender Python API

        U coordinate of point along spline segment

        Blender Source Code

        U coordinate along spline segment and weight of this point.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__u
      • getW

        public float getW()
                   throws java.io.IOException
        Get method for struct member 'w'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__w
      • setW

        public void setW​(float w)
                  throws java.io.IOException
        Set method for struct member 'w'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__w
      • getFlag

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

        Field Documentation

        Blender Source Code

        Different flags of this point.

        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

        Different flags of this point.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__flag