Class bSplineIKConstraint


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

    Class Documentation

    Blender Source Code

    Spline IK Constraint Aligns 'n' bones to the curvature defined by the curve, with the chain ending on the bone that owns this constraint, and starting on the nth parent.

    • Field Detail

      • __DNA__SDNA_INDEX

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

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

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

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

        Field Documentation

        Blender Source Code

        target(s) Curve object (with follow path enabled) which drives the bone chain.

        Pointer Arithmetics

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

         bSplineIKConstraint bsplineikconstraint = ...;
         CPointer<Object> p = bsplineikconstraint.__dna__addressof(bSplineIKConstraint.__DNA__FIELD__tar);
         CPointer<CPointer<BlenderObject>> p_tar = p.cast(new Class[]{CPointer.class, BlenderObject.class});
         

        Metadata

        • Field: 'tar'
        • Signature: 'Object*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__points

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

        Field Documentation

        Blender Source Code

        binding details Array of numpoints items, denoting parametric positions along curve that joints should follow.

        Pointer Arithmetics

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

         bSplineIKConstraint bsplineikconstraint = ...;
         CPointer<Object> p = bsplineikconstraint.__dna__addressof(bSplineIKConstraint.__DNA__FIELD__points);
         CPointer<CPointer<Float>> p_points = p.cast(new Class[]{CPointer.class, Float.class});
         

        Metadata

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

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

        Field Documentation

        Blender Source Code

        Number of points to bound in points array.

        Pointer Arithmetics

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

         bSplineIKConstraint bsplineikconstraint = ...;
         CPointer<Object> p = bsplineikconstraint.__dna__addressof(bSplineIKConstraint.__DNA__FIELD__numpoints);
         CPointer<Short> p_numpoints = p.cast(new Class[]{Short.class});
         

        Metadata

        • Field: 'numpoints'
        • Signature: 'short'
        • Actual Size (32bit/64bit): 2/2
      • __DNA__FIELD__chainlen

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

        Field Documentation

        Blender Source Code

        Number of bones ('n') that are in the chain.

        Pointer Arithmetics

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

         bSplineIKConstraint bsplineikconstraint = ...;
         CPointer<Object> p = bsplineikconstraint.__dna__addressof(bSplineIKConstraint.__DNA__FIELD__chainlen);
         CPointer<Short> p_chainlen = p.cast(new Class[]{Short.class});
         

        Metadata

        • Field: 'chainlen'
        • Signature: 'short'
        • Actual Size (32bit/64bit): 2/2
      • __DNA__FIELD__flag

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

        Field Documentation

        Blender Source Code

        settings General settings for constraint.

        Pointer Arithmetics

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

         bSplineIKConstraint bsplineikconstraint = ...;
         CPointer<Object> p = bsplineikconstraint.__dna__addressof(bSplineIKConstraint.__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__xzScaleMode

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

        Field Documentation

        Blender Source Code

        Method used for determining the x & z scaling of the bones.

        Pointer Arithmetics

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

         bSplineIKConstraint bsplineikconstraint = ...;
         CPointer<Object> p = bsplineikconstraint.__dna__addressof(bSplineIKConstraint.__DNA__FIELD__xzScaleMode);
         CPointer<Short> p_xzScaleMode = p.cast(new Class[]{Short.class});
         

        Metadata

        • Field: 'xzScaleMode'
        • Signature: 'short'
        • Actual Size (32bit/64bit): 2/2
      • __DNA__FIELD__yScaleMode

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

        Field Documentation

        Blender Source Code

        Method used for determining the y scaling of the bones.

        Pointer Arithmetics

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

         bSplineIKConstraint bsplineikconstraint = ...;
         CPointer<Object> p = bsplineikconstraint.__dna__addressof(bSplineIKConstraint.__DNA__FIELD__yScaleMode);
         CPointer<Short> p_yScaleMode = p.cast(new Class[]{Short.class});
         

        Metadata

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

         bSplineIKConstraint bsplineikconstraint = ...;
         CPointer<Object> p = bsplineikconstraint.__dna__addressof(bSplineIKConstraint.__DNA__FIELD___pad);
         CPointer<CArrayFacade<Short>> p__pad = p.cast(new Class[]{CArrayFacade.class, Short.class});
         

        Metadata

        • Field: '_pad'
        • Signature: 'short[3]'
        • Actual Size (32bit/64bit): 6/6
      • __DNA__FIELD__bulge

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

        Field Documentation

        Blender Source Code

        volume preservation settings

        Pointer Arithmetics

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

         bSplineIKConstraint bsplineikconstraint = ...;
         CPointer<Object> p = bsplineikconstraint.__dna__addressof(bSplineIKConstraint.__DNA__FIELD__bulge);
         CPointer<Float> p_bulge = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'bulge'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__bulge_min

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

        Pointer Arithmetics

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

         bSplineIKConstraint bsplineikconstraint = ...;
         CPointer<Object> p = bsplineikconstraint.__dna__addressof(bSplineIKConstraint.__DNA__FIELD__bulge_min);
         CPointer<Float> p_bulge_min = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'bulge_min'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__bulge_max

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

        Pointer Arithmetics

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

         bSplineIKConstraint bsplineikconstraint = ...;
         CPointer<Object> p = bsplineikconstraint.__dna__addressof(bSplineIKConstraint.__DNA__FIELD__bulge_max);
         CPointer<Float> p_bulge_max = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'bulge_max'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__bulge_smooth

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

        Pointer Arithmetics

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

         bSplineIKConstraint bsplineikconstraint = ...;
         CPointer<Object> p = bsplineikconstraint.__dna__addressof(bSplineIKConstraint.__DNA__FIELD__bulge_smooth);
         CPointer<Float> p_bulge_smooth = p.cast(new Class[]{Float.class});
         

        Metadata

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

      • bSplineIKConstraint

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

      • getTar

        public CPointer<BlenderObject> getTar()
                                       throws java.io.IOException
        Get method for struct member 'tar'.

        Field Documentation

        Blender Source Code

        target(s) Curve object (with follow path enabled) which drives the bone chain.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__tar
      • setTar

        public void setTar​(CPointer<BlenderObject> tar)
                    throws java.io.IOException
        Set method for struct member 'tar'.

        Field Documentation

        Blender Source Code

        target(s) Curve object (with follow path enabled) which drives the bone chain.

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

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

        Field Documentation

        Blender Source Code

        binding details Array of numpoints items, denoting parametric positions along curve that joints should follow.

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

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

        Field Documentation

        Blender Source Code

        binding details Array of numpoints items, denoting parametric positions along curve that joints should follow.

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

        public short getNumpoints()
                           throws java.io.IOException
        Get method for struct member 'numpoints'.

        Field Documentation

        Blender Source Code

        Number of points to bound in points array.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__numpoints
      • setNumpoints

        public void setNumpoints​(short numpoints)
                          throws java.io.IOException
        Set method for struct member 'numpoints'.

        Field Documentation

        Blender Source Code

        Number of points to bound in points array.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__numpoints
      • getChainlen

        public short getChainlen()
                          throws java.io.IOException
        Get method for struct member 'chainlen'.

        Field Documentation

        Blender Source Code

        Number of bones ('n') that are in the chain.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__chainlen
      • setChainlen

        public void setChainlen​(short chainlen)
                         throws java.io.IOException
        Set method for struct member 'chainlen'.

        Field Documentation

        Blender Source Code

        Number of bones ('n') that are in the chain.

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

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

        Field Documentation

        Blender Source Code

        settings General settings for constraint.

        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

        settings General settings for constraint.

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

        public short getXzScaleMode()
                             throws java.io.IOException
        Get method for struct member 'xzScaleMode'.

        Field Documentation

        Blender Source Code

        Method used for determining the x & z scaling of the bones.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__xzScaleMode
      • setXzScaleMode

        public void setXzScaleMode​(short xzScaleMode)
                            throws java.io.IOException
        Set method for struct member 'xzScaleMode'.

        Field Documentation

        Blender Source Code

        Method used for determining the x & z scaling of the bones.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__xzScaleMode
      • getYScaleMode

        public short getYScaleMode()
                            throws java.io.IOException
        Get method for struct member 'yScaleMode'.

        Field Documentation

        Blender Source Code

        Method used for determining the y scaling of the bones.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__yScaleMode
      • setYScaleMode

        public void setYScaleMode​(short yScaleMode)
                           throws java.io.IOException
        Set method for struct member 'yScaleMode'.

        Field Documentation

        Blender Source Code

        Method used for determining the y scaling of the bones.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__yScaleMode
      • get_pad

        public CArrayFacade<java.lang.Short> 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.Short> _pad)
                     throws java.io.IOException
        Set method for struct member '_pad'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD___pad
      • getBulge

        public float getBulge()
                       throws java.io.IOException
        Get method for struct member 'bulge'.

        Field Documentation

        Blender Source Code

        volume preservation settings

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__bulge
      • setBulge

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

        Field Documentation

        Blender Source Code

        volume preservation settings

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__bulge
      • getBulge_min

        public float getBulge_min()
                           throws java.io.IOException
        Get method for struct member 'bulge_min'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__bulge_min
      • setBulge_min

        public void setBulge_min​(float bulge_min)
                          throws java.io.IOException
        Set method for struct member 'bulge_min'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__bulge_min
      • getBulge_max

        public float getBulge_max()
                           throws java.io.IOException
        Get method for struct member 'bulge_max'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__bulge_max
      • setBulge_max

        public void setBulge_max​(float bulge_max)
                          throws java.io.IOException
        Set method for struct member 'bulge_max'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__bulge_max
      • getBulge_smooth

        public float getBulge_smooth()
                              throws java.io.IOException
        Get method for struct member 'bulge_smooth'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__bulge_smooth
      • setBulge_smooth

        public void setBulge_smooth​(float bulge_smooth)
                             throws java.io.IOException
        Set method for struct member 'bulge_smooth'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__bulge_smooth