Class bPivotConstraint


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

    Class Documentation

    Blender Source Code

    Pivot Constraint

    • Field Detail

      • __DNA__SDNA_INDEX

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

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

        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

        Pivot Point: Either target object + offset, or just offset is used Target object (optional).

        Pointer Arithmetics

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

         bPivotConstraint bpivotconstraint = ...;
         CPointer<Object> p = bpivotconstraint.__dna__addressof(bPivotConstraint.__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__subtarget

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

        Field Documentation

        Blender Source Code

        Subtarget name (optional), MAX_ID_NAME-2.

        Pointer Arithmetics

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

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

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

        Field Documentation

        Blender Source Code

        Offset from the target to use, regardless of whether it exists.

        Pointer Arithmetics

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

         bPivotConstraint bpivotconstraint = ...;
         CPointer<Object> p = bpivotconstraint.__dna__addressof(bPivotConstraint.__DNA__FIELD__offset);
         CPointer<CArrayFacade<Float>> p_offset = p.cast(new Class[]{CArrayFacade.class, Float.class});
         

        Metadata

        • Field: 'offset'
        • Signature: 'float[3]'
        • Actual Size (32bit/64bit): 12/12
      • __DNA__FIELD__rotAxis

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

        Field Documentation

        Blender Source Code

        Rotation-driven activation: This option provides easier one-stop setups for foot-rolls. Rotation axes to consider for this (ePivotConstraint_Axis ).

        Pointer Arithmetics

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

         bPivotConstraint bpivotconstraint = ...;
         CPointer<Object> p = bpivotconstraint.__dna__addressof(bPivotConstraint.__DNA__FIELD__rotAxis);
         CPointer<Short> p_rotAxis = p.cast(new Class[]{Short.class});
         

        Metadata

        • Field: 'rotAxis'
        • Signature: 'short'
        • Actual Size (32bit/64bit): 2/2
      • __DNA__FIELD__flag

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

        Field Documentation

        Blender Source Code

        General flags ePivotConstraint_Flag .

        Pointer Arithmetics

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

         bPivotConstraint bpivotconstraint = ...;
         CPointer<Object> p = bpivotconstraint.__dna__addressof(bPivotConstraint.__DNA__FIELD__flag);
         CPointer<Short> p_flag = p.cast(new Class[]{Short.class});
         

        Metadata

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

      • bPivotConstraint

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

        Pivot Point: Either target object + offset, or just offset is used Target object (optional).

        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

        Pivot Point: Either target object + offset, or just offset is used Target object (optional).

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

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

        Field Documentation

        Blender Source Code

        Subtarget name (optional), 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

        Subtarget name (optional), MAX_ID_NAME-2.

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

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

        Field Documentation

        Blender Source Code

        Offset from the target to use, regardless of whether it exists.

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

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

        Field Documentation

        Blender Source Code

        Offset from the target to use, regardless of whether it exists.

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

        public short getRotAxis()
                         throws java.io.IOException
        Get method for struct member 'rotAxis'.

        Field Documentation

        Blender Source Code

        Rotation-driven activation: This option provides easier one-stop setups for foot-rolls. Rotation axes to consider for this (ePivotConstraint_Axis ).

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__rotAxis
      • setRotAxis

        public void setRotAxis​(short rotAxis)
                        throws java.io.IOException
        Set method for struct member 'rotAxis'.

        Field Documentation

        Blender Source Code

        Rotation-driven activation: This option provides easier one-stop setups for foot-rolls. Rotation axes to consider for this (ePivotConstraint_Axis ).

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__rotAxis
      • getFlag

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

        Field Documentation

        Blender Source Code

        General flags ePivotConstraint_Flag .

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__flag
      • setFlag

        public void setFlag​(short flag)
                     throws java.io.IOException
        Set method for struct member 'flag'.

        Field Documentation

        Blender Source Code

        General flags ePivotConstraint_Flag .

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__flag