Class bFollowPathConstraint


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

    Class Documentation

    Blender Source Code

    Follow Path constraints

    • Field Detail

      • __DNA__SDNA_INDEX

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

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

        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

        Must be path object.

        Pointer Arithmetics

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

         bFollowPathConstraint bfollowpathconstraint = ...;
         CPointer<Object> p = bfollowpathconstraint.__dna__addressof(bFollowPathConstraint.__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__offset

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

        Field Documentation

        Blender Source Code

        Offset in time on the path (in frames), when NOT using 'fixed position'.

        Pointer Arithmetics

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

         bFollowPathConstraint bfollowpathconstraint = ...;
         CPointer<Object> p = bfollowpathconstraint.__dna__addressof(bFollowPathConstraint.__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__offset_fac

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

        Field Documentation

        Blender Source Code

        Parametric offset factor defining position along path, when using 'fixed position'.

        Pointer Arithmetics

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

         bFollowPathConstraint bfollowpathconstraint = ...;
         CPointer<Object> p = bfollowpathconstraint.__dna__addressof(bFollowPathConstraint.__DNA__FIELD__offset_fac);
         CPointer<Float> p_offset_fac = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'offset_fac'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__followflag

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

        Pointer Arithmetics

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

         bFollowPathConstraint bfollowpathconstraint = ...;
         CPointer<Object> p = bfollowpathconstraint.__dna__addressof(bFollowPathConstraint.__DNA__FIELD__followflag);
         CPointer<Integer> p_followflag = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'followflag'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __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:

         bFollowPathConstraint bfollowpathconstraint = ...;
         CPointer<Object> p = bfollowpathconstraint.__dna__addressof(bFollowPathConstraint.__DNA__FIELD__trackflag);
         CPointer<Short> p_trackflag = p.cast(new Class[]{Short.class});
         

        Metadata

        • Field: 'trackflag'
        • Signature: 'short'
        • Actual Size (32bit/64bit): 2/2
      • __DNA__FIELD__upflag

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

        Pointer Arithmetics

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

         bFollowPathConstraint bfollowpathconstraint = ...;
         CPointer<Object> p = bfollowpathconstraint.__dna__addressof(bFollowPathConstraint.__DNA__FIELD__upflag);
         CPointer<Short> p_upflag = p.cast(new Class[]{Short.class});
         

        Metadata

        • Field: 'upflag'
        • Signature: 'short'
        • Actual Size (32bit/64bit): 2/2
    • Constructor Detail

      • bFollowPathConstraint

        public bFollowPathConstraint​(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

        Must be path object.

        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

        Must be path object.

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

        public float getOffset()
                        throws java.io.IOException
        Get method for struct member 'offset'.

        Field Documentation

        Blender Source Code

        Offset in time on the path (in frames), when NOT using 'fixed position'.

        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'.

        Field Documentation

        Blender Source Code

        Offset in time on the path (in frames), when NOT using 'fixed position'.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__offset
      • getOffset_fac

        public float getOffset_fac()
                            throws java.io.IOException
        Get method for struct member 'offset_fac'.

        Field Documentation

        Blender Source Code

        Parametric offset factor defining position along path, when using 'fixed position'.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__offset_fac
      • setOffset_fac

        public void setOffset_fac​(float offset_fac)
                           throws java.io.IOException
        Set method for struct member 'offset_fac'.

        Field Documentation

        Blender Source Code

        Parametric offset factor defining position along path, when using 'fixed position'.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__offset_fac
      • getFollowflag

        public int getFollowflag()
                          throws java.io.IOException
        Get method for struct member 'followflag'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__followflag
      • setFollowflag

        public void setFollowflag​(int followflag)
                           throws java.io.IOException
        Set method for struct member 'followflag'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__followflag
      • getTrackflag

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

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

        public short getUpflag()
                        throws java.io.IOException
        Get method for struct member 'upflag'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__upflag
      • setUpflag

        public void setUpflag​(short upflag)
                       throws java.io.IOException
        Set method for struct member 'upflag'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__upflag