Class bDistLimitConstraint


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

    Class Documentation

    Blender Source Code

    Limit Distance Constraint

    • Field Detail

      • __DNA__SDNA_INDEX

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

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

        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:

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

         bDistLimitConstraint bdistlimitconstraint = ...;
         CPointer<Object> p = bdistlimitconstraint.__dna__addressof(bDistLimitConstraint.__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
      • __DNA__FIELD__dist

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

        Field Documentation

        Blender Source Code

        Distance (radius of clamping sphere) from target.

        Pointer Arithmetics

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

         bDistLimitConstraint bdistlimitconstraint = ...;
         CPointer<Object> p = bdistlimitconstraint.__dna__addressof(bDistLimitConstraint.__DNA__FIELD__dist);
         CPointer<Float> p_dist = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'dist'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__soft

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

        Field Documentation

        Blender Source Code

        Distance from clamping-sphere to start applying 'fade'.

        Pointer Arithmetics

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

         bDistLimitConstraint bdistlimitconstraint = ...;
         CPointer<Object> p = bdistlimitconstraint.__dna__addressof(bDistLimitConstraint.__DNA__FIELD__soft);
         CPointer<Float> p_soft = p.cast(new Class[]{Float.class});
         

        Metadata

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

        Settings.

        Pointer Arithmetics

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

         bDistLimitConstraint bdistlimitconstraint = ...;
         CPointer<Object> p = bdistlimitconstraint.__dna__addressof(bDistLimitConstraint.__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__mode

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

        Field Documentation

        Blender Source Code

        How to limit in relation to clamping sphere.

        Pointer Arithmetics

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

         bDistLimitConstraint bdistlimitconstraint = ...;
         CPointer<Object> p = bdistlimitconstraint.__dna__addressof(bDistLimitConstraint.__DNA__FIELD__mode);
         CPointer<Short> p_mode = p.cast(new Class[]{Short.class});
         

        Metadata

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

         bDistLimitConstraint bdistlimitconstraint = ...;
         CPointer<Object> p = bdistlimitconstraint.__dna__addressof(bDistLimitConstraint.__DNA__FIELD___pad);
         CPointer<CArrayFacade<Byte>> p__pad = p.cast(new Class[]{CArrayFacade.class, Byte.class});
         

        Metadata

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

      • bDistLimitConstraint

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

      • 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
      • getDist

        public float getDist()
                      throws java.io.IOException
        Get method for struct member 'dist'.

        Field Documentation

        Blender Source Code

        Distance (radius of clamping sphere) from target.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__dist
      • setDist

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

        Field Documentation

        Blender Source Code

        Distance (radius of clamping sphere) from target.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__dist
      • getSoft

        public float getSoft()
                      throws java.io.IOException
        Get method for struct member 'soft'.

        Field Documentation

        Blender Source Code

        Distance from clamping-sphere to start applying 'fade'.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__soft
      • setSoft

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

        Field Documentation

        Blender Source Code

        Distance from clamping-sphere to start applying 'fade'.

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

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

        Field Documentation

        Blender Source Code

        Settings.

        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.

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

        public short getMode()
                      throws java.io.IOException
        Get method for struct member 'mode'.

        Field Documentation

        Blender Source Code

        How to limit in relation to clamping sphere.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__mode
      • setMode

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

        Field Documentation

        Blender Source Code

        How to limit in relation to clamping sphere.

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

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