Class bClampToConstraint


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

    Class Documentation

    Blender Source Code

    Clamp-To Constraint

    • Field Detail

      • __DNA__SDNA_INDEX

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

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

        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' must be a curve.

        Pointer Arithmetics

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

         bClampToConstraint bclamptoconstraint = ...;
         CPointer<Object> p = bclamptoconstraint.__dna__addressof(bClampToConstraint.__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'.

        Field Documentation

        Blender Source Code

        Which axis/plane to compare owner's location on.

        Pointer Arithmetics

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

         bClampToConstraint bclamptoconstraint = ...;
         CPointer<Object> p = bclamptoconstraint.__dna__addressof(bClampToConstraint.__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__flag2

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

        Field Documentation

        Blender Source Code

        For legacy reasons, this is flag2. used for any extra settings.

        Pointer Arithmetics

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

         bClampToConstraint bclamptoconstraint = ...;
         CPointer<Object> p = bclamptoconstraint.__dna__addressof(bClampToConstraint.__DNA__FIELD__flag2);
         CPointer<Integer> p_flag2 = p.cast(new Class[]{Integer.class});
         

        Metadata

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

      • bClampToConstraint

        public bClampToConstraint​(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' must be a curve.

        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' must be a curve.

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

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

        Field Documentation

        Blender Source Code

        Which axis/plane to compare owner's location on.

        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

        Which axis/plane to compare owner's location on.

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

        public int getFlag2()
                     throws java.io.IOException
        Get method for struct member 'flag2'.

        Field Documentation

        Blender Source Code

        For legacy reasons, this is flag2. used for any extra settings.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__flag2
      • setFlag2

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

        Field Documentation

        Blender Source Code

        For legacy reasons, this is flag2. used for any extra settings.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__flag2