Class bLockTrackConstraint


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

    Class Documentation

    Blender Source Code

    Locked Axis Tracking constraint

    • Field Detail

      • __DNA__SDNA_INDEX

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

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

        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:

         bLockTrackConstraint blocktrackconstraint = ...;
         CPointer<Object> p = blocktrackconstraint.__dna__addressof(bLockTrackConstraint.__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__trackflag

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

        Pointer Arithmetics

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

         bLockTrackConstraint blocktrackconstraint = ...;
         CPointer<Object> p = blocktrackconstraint.__dna__addressof(bLockTrackConstraint.__DNA__FIELD__trackflag);
         CPointer<Integer> p_trackflag = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'trackflag'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__lockflag

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

        Pointer Arithmetics

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

         bLockTrackConstraint blocktrackconstraint = ...;
         CPointer<Object> p = blocktrackconstraint.__dna__addressof(bLockTrackConstraint.__DNA__FIELD__lockflag);
         CPointer<Integer> p_lockflag = p.cast(new Class[]{Integer.class});
         

        Metadata

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

         bLockTrackConstraint blocktrackconstraint = ...;
         CPointer<Object> p = blocktrackconstraint.__dna__addressof(bLockTrackConstraint.__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
    • Constructor Detail

      • bLockTrackConstraint

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

      • getTrackflag

        public int getTrackflag()
                         throws java.io.IOException
        Get method for struct member 'trackflag'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__trackflag
      • setTrackflag

        public void setTrackflag​(int trackflag)
                          throws java.io.IOException
        Set method for struct member 'trackflag'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__trackflag
      • getLockflag

        public int getLockflag()
                        throws java.io.IOException
        Get method for struct member 'lockflag'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__lockflag
      • setLockflag

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