Class bObjectSolverConstraint


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

    Class Documentation

    Blender Source Code

    Camera Solver constraints

    • Field Detail

      • __DNA__SDNA_INDEX

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

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

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

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

        Pointer Arithmetics

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

         bObjectSolverConstraint bobjectsolverconstraint = ...;
         CPointer<Object> p = bobjectsolverconstraint.__dna__addressof(bObjectSolverConstraint.__DNA__FIELD__clip);
         CPointer<CPointer<MovieClip>> p_clip = p.cast(new Class[]{CPointer.class, MovieClip.class});
         

        Metadata

        • Field: 'clip'
        • Signature: 'MovieClip*'
        • 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:

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

         bObjectSolverConstraint bobjectsolverconstraint = ...;
         CPointer<Object> p = bobjectsolverconstraint.__dna__addressof(bObjectSolverConstraint.__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__object

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

        Field Documentation

        Blender Source Code

        MAX_NAME.

        Pointer Arithmetics

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

         bObjectSolverConstraint bobjectsolverconstraint = ...;
         CPointer<Object> p = bobjectsolverconstraint.__dna__addressof(bObjectSolverConstraint.__DNA__FIELD__object);
         CPointer<CArrayFacade<Byte>> p_object = p.cast(new Class[]{CArrayFacade.class, Byte.class});
         

        Metadata

        • Field: 'object'
        • Signature: 'char[64]'
        • Actual Size (32bit/64bit): 64/64
      • __DNA__FIELD__invmat

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

        Field Documentation

        Blender Source Code

        Parent-inverse matrix to use.

        Pointer Arithmetics

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

         bObjectSolverConstraint bobjectsolverconstraint = ...;
         CPointer<Object> p = bobjectsolverconstraint.__dna__addressof(bObjectSolverConstraint.__DNA__FIELD__invmat);
         CPointer<CArrayFacade<CArrayFacade<Float>>> p_invmat = p.cast(new Class[]{CArrayFacade.class, CArrayFacade.class, Float.class});
         

        Metadata

        • Field: 'invmat'
        • Signature: 'float[4][4]'
        • Actual Size (32bit/64bit): 64/64
      • __DNA__FIELD__camera

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

        Pointer Arithmetics

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

         bObjectSolverConstraint bobjectsolverconstraint = ...;
         CPointer<Object> p = bobjectsolverconstraint.__dna__addressof(bObjectSolverConstraint.__DNA__FIELD__camera);
         CPointer<CPointer<BlenderObject>> p_camera = p.cast(new Class[]{CPointer.class, BlenderObject.class});
         

        Metadata

        • Field: 'camera'
        • Signature: 'Object*'
        • Actual Size (32bit/64bit): 4/8
    • Constructor Detail

      • bObjectSolverConstraint

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

      • setClip

        public void setClip​(CPointer<MovieClip> clip)
                     throws java.io.IOException
        Set method for struct member 'clip'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__clip
      • 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
      • 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
      • getObject

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

        Field Documentation

        Blender Source Code

        MAX_NAME.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__object
      • setObject

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

        Field Documentation

        Blender Source Code

        MAX_NAME.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__object
      • getInvmat

        public CArrayFacade<CArrayFacade<java.lang.Float>> getInvmat()
                                                              throws java.io.IOException
        Get method for struct member 'invmat'.

        Field Documentation

        Blender Source Code

        Parent-inverse matrix to use.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__invmat
      • setInvmat

        public void setInvmat​(CArrayFacade<CArrayFacade<java.lang.Float>> invmat)
                       throws java.io.IOException
        Set method for struct member 'invmat'.

        Field Documentation

        Blender Source Code

        Parent-inverse matrix to use.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__invmat