Class bArmatureConstraint


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

    Class Documentation

    Blender Source Code

    Armature Constraint

    • Field Detail

      • __DNA__SDNA_INDEX

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

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

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

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

        Field Documentation

        Blender Source Code

        General settings/state indicators accessed by bitmapping.

        Pointer Arithmetics

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

         bArmatureConstraint barmatureconstraint = ...;
         CPointer<Object> p = barmatureconstraint.__dna__addressof(bArmatureConstraint.__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___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:

         bArmatureConstraint barmatureconstraint = ...;
         CPointer<Object> p = barmatureconstraint.__dna__addressof(bArmatureConstraint.__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
      • __DNA__FIELD__targets

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

        Field Documentation

        Blender Source Code

        A list of targets that this constraint has (bConstraintTarget-s).

        Pointer Arithmetics

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

         bArmatureConstraint barmatureconstraint = ...;
         CPointer<Object> p = barmatureconstraint.__dna__addressof(bArmatureConstraint.__DNA__FIELD__targets);
         CPointer<ListBase> p_targets = p.cast(new Class[]{ListBase.class});
         

        Metadata

        • Field: 'targets'
        • Signature: 'ListBase'
        • Actual Size (32bit/64bit): 8/16
    • Constructor Detail

      • bArmatureConstraint

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

      • getFlag

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

        Field Documentation

        Blender Source Code

        General settings/state indicators accessed by bitmapping.

        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

        General settings/state indicators accessed by bitmapping.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__flag
      • 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
      • getTargets

        public ListBase getTargets()
                            throws java.io.IOException
        Get method for struct member 'targets'.

        Field Documentation

        Blender Source Code

        A list of targets that this constraint has (bConstraintTarget-s).

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__targets
      • setTargets

        public void setTargets​(ListBase targets)
                        throws java.io.IOException
        Set method for struct member 'targets'.

        Field Documentation

        Blender Source Code

        A list of targets that this constraint has (bConstraintTarget-s).

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__targets