Class bStretchToConstraint


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

    Class Documentation

    Blender Source Code

    Stretch to constraint

    • Field Detail

      • __DNA__SDNA_INDEX

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

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

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

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

        Pointer Arithmetics

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

         bStretchToConstraint bstretchtoconstraint = ...;
         CPointer<Object> p = bstretchtoconstraint.__dna__addressof(bStretchToConstraint.__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__flag

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

        Pointer Arithmetics

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

         bStretchToConstraint bstretchtoconstraint = ...;
         CPointer<Object> p = bstretchtoconstraint.__dna__addressof(bStretchToConstraint.__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__volmode

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

        Pointer Arithmetics

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

         bStretchToConstraint bstretchtoconstraint = ...;
         CPointer<Object> p = bstretchtoconstraint.__dna__addressof(bStretchToConstraint.__DNA__FIELD__volmode);
         CPointer<Integer> p_volmode = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'volmode'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__plane

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

        Pointer Arithmetics

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

         bStretchToConstraint bstretchtoconstraint = ...;
         CPointer<Object> p = bstretchtoconstraint.__dna__addressof(bStretchToConstraint.__DNA__FIELD__plane);
         CPointer<Integer> p_plane = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'plane'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__orglength

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

        Pointer Arithmetics

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

         bStretchToConstraint bstretchtoconstraint = ...;
         CPointer<Object> p = bstretchtoconstraint.__dna__addressof(bStretchToConstraint.__DNA__FIELD__orglength);
         CPointer<Float> p_orglength = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'orglength'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__bulge

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

        Pointer Arithmetics

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

         bStretchToConstraint bstretchtoconstraint = ...;
         CPointer<Object> p = bstretchtoconstraint.__dna__addressof(bStretchToConstraint.__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:

         bStretchToConstraint bstretchtoconstraint = ...;
         CPointer<Object> p = bstretchtoconstraint.__dna__addressof(bStretchToConstraint.__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:

         bStretchToConstraint bstretchtoconstraint = ...;
         CPointer<Object> p = bstretchtoconstraint.__dna__addressof(bStretchToConstraint.__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:

         bStretchToConstraint bstretchtoconstraint = ...;
         CPointer<Object> p = bstretchtoconstraint.__dna__addressof(bStretchToConstraint.__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
      • __DNA__FIELD__subtarget

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

        Field Documentation

        Blender Source Code

        MAX_ID_NAME-2.

        Pointer Arithmetics

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

         bStretchToConstraint bstretchtoconstraint = ...;
         CPointer<Object> p = bstretchtoconstraint.__dna__addressof(bStretchToConstraint.__DNA__FIELD__subtarget);
         CPointer<CArrayFacade<Byte>> p_subtarget = p.cast(new Class[]{CArrayFacade.class, Byte.class});
         

        Metadata

        • Field: 'subtarget'
        • Signature: 'char[64]'
        • Actual Size (32bit/64bit): 64/64
    • Constructor Detail

      • bStretchToConstraint

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

      • getFlag

        public int getFlag()
                    throws java.io.IOException
        Get method for struct member 'flag'.
        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'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__flag
      • getVolmode

        public int getVolmode()
                       throws java.io.IOException
        Get method for struct member 'volmode'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__volmode
      • setVolmode

        public void setVolmode​(int volmode)
                        throws java.io.IOException
        Set method for struct member 'volmode'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__volmode
      • getPlane

        public int getPlane()
                     throws java.io.IOException
        Get method for struct member 'plane'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__plane
      • setPlane

        public void setPlane​(int plane)
                      throws java.io.IOException
        Set method for struct member 'plane'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__plane
      • getOrglength

        public float getOrglength()
                           throws java.io.IOException
        Get method for struct member 'orglength'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__orglength
      • setOrglength

        public void setOrglength​(float orglength)
                          throws java.io.IOException
        Set method for struct member 'orglength'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__orglength
      • getBulge

        public float getBulge()
                       throws java.io.IOException
        Get method for struct member 'bulge'.
        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'.
        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
      • getSubtarget

        public CArrayFacade<java.lang.Byte> getSubtarget()
                                                  throws java.io.IOException
        Get method for struct member 'subtarget'.

        Field Documentation

        Blender Source Code

        MAX_ID_NAME-2.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__subtarget
      • setSubtarget

        public void setSubtarget​(CArrayFacade<java.lang.Byte> subtarget)
                          throws java.io.IOException
        Set method for struct member 'subtarget'.

        Field Documentation

        Blender Source Code

        MAX_ID_NAME-2.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__subtarget