Class bMinMaxConstraint


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

    Class Documentation

    Blender Source Code

    Floor Constraint

    • Field Detail

      • __DNA__SDNA_INDEX

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

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

        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:

         bMinMaxConstraint bminmaxconstraint = ...;
         CPointer<Object> p = bminmaxconstraint.__dna__addressof(bMinMaxConstraint.__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__minmaxflag

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

        Pointer Arithmetics

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

         bMinMaxConstraint bminmaxconstraint = ...;
         CPointer<Object> p = bminmaxconstraint.__dna__addressof(bMinMaxConstraint.__DNA__FIELD__minmaxflag);
         CPointer<Integer> p_minmaxflag = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'minmaxflag'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__offset

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

        Pointer Arithmetics

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

         bMinMaxConstraint bminmaxconstraint = ...;
         CPointer<Object> p = bminmaxconstraint.__dna__addressof(bMinMaxConstraint.__DNA__FIELD__offset);
         CPointer<Float> p_offset = p.cast(new Class[]{Float.class});
         

        Metadata

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

        Pointer Arithmetics

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

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

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

         bMinMaxConstraint bminmaxconstraint = ...;
         CPointer<Object> p = bminmaxconstraint.__dna__addressof(bMinMaxConstraint.__DNA__FIELD___pad);
         CPointer<Integer> p__pad = p.cast(new Class[]{Integer.class});
         

        Metadata

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

      • bMinMaxConstraint

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

      • getMinmaxflag

        public int getMinmaxflag()
                          throws java.io.IOException
        Get method for struct member 'minmaxflag'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__minmaxflag
      • setMinmaxflag

        public void setMinmaxflag​(int minmaxflag)
                           throws java.io.IOException
        Set method for struct member 'minmaxflag'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__minmaxflag
      • getOffset

        public float getOffset()
                        throws java.io.IOException
        Get method for struct member 'offset'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__offset
      • setOffset

        public void setOffset​(float offset)
                       throws java.io.IOException
        Set method for struct member 'offset'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__offset
      • 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
      • 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
      • get_pad

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