Class bActionConstraint


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

    Class Documentation

    Blender Source Code

    Action Constraint

    • Field Detail

      • __DNA__SDNA_INDEX

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

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

        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:

         bActionConstraint bactionconstraint = ...;
         CPointer<Object> p = bactionconstraint.__dna__addressof(bActionConstraint.__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__type

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

        Field Documentation

        Blender Source Code

        What transform 'channel' drives the result.

        Pointer Arithmetics

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

         bActionConstraint bactionconstraint = ...;
         CPointer<Object> p = bactionconstraint.__dna__addressof(bActionConstraint.__DNA__FIELD__type);
         CPointer<Short> p_type = p.cast(new Class[]{Short.class});
         

        Metadata

        • Field: 'type'
        • Signature: 'short'
        • Actual Size (32bit/64bit): 2/2
      • __DNA__FIELD__local

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

        Field Documentation

        Blender Source Code

        Was used in versions prior to the Constraints recode.

        Pointer Arithmetics

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

         bActionConstraint bactionconstraint = ...;
         CPointer<Object> p = bactionconstraint.__dna__addressof(bActionConstraint.__DNA__FIELD__local);
         CPointer<Short> p_local = p.cast(new Class[]{Short.class});
         

        Metadata

        • Field: 'local'
        • Signature: 'short'
        • Actual Size (32bit/64bit): 2/2
      • __DNA__FIELD__start

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

        Pointer Arithmetics

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

         bActionConstraint bactionconstraint = ...;
         CPointer<Object> p = bactionconstraint.__dna__addressof(bActionConstraint.__DNA__FIELD__start);
         CPointer<Integer> p_start = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'start'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__end

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

        Pointer Arithmetics

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

         bActionConstraint bactionconstraint = ...;
         CPointer<Object> p = bactionconstraint.__dna__addressof(bActionConstraint.__DNA__FIELD__end);
         CPointer<Integer> p_end = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'end'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__min

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

        Pointer Arithmetics

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

         bActionConstraint bactionconstraint = ...;
         CPointer<Object> p = bactionconstraint.__dna__addressof(bActionConstraint.__DNA__FIELD__min);
         CPointer<Float> p_min = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'min'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__max

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

        Pointer Arithmetics

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

         bActionConstraint bactionconstraint = ...;
         CPointer<Object> p = bactionconstraint.__dna__addressof(bActionConstraint.__DNA__FIELD__max);
         CPointer<Float> p_max = p.cast(new Class[]{Float.class});
         

        Metadata

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

         bActionConstraint bactionconstraint = ...;
         CPointer<Object> p = bactionconstraint.__dna__addressof(bActionConstraint.__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__mix_mode

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

        Pointer Arithmetics

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

         bActionConstraint bactionconstraint = ...;
         CPointer<Object> p = bactionconstraint.__dna__addressof(bActionConstraint.__DNA__FIELD__mix_mode);
         CPointer<Byte> p_mix_mode = p.cast(new Class[]{Byte.class});
         

        Metadata

        • Field: 'mix_mode'
        • Signature: 'char'
        • Actual Size (32bit/64bit): 1/1
      • __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:

         bActionConstraint bactionconstraint = ...;
         CPointer<Object> p = bactionconstraint.__dna__addressof(bActionConstraint.__DNA__FIELD___pad);
         CPointer<CArrayFacade<Byte>> p__pad = p.cast(new Class[]{CArrayFacade.class, Byte.class});
         

        Metadata

        • Field: '_pad'
        • Signature: 'char[3]'
        • Actual Size (32bit/64bit): 3/3
      • __DNA__FIELD__eval_time

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

        Field Documentation

        Blender Source Code

        Only used when flag ACTCON_USE_EVAL_TIME is set.

        Pointer Arithmetics

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

         bActionConstraint bactionconstraint = ...;
         CPointer<Object> p = bactionconstraint.__dna__addressof(bActionConstraint.__DNA__FIELD__eval_time);
         CPointer<Float> p_eval_time = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'eval_time'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__act

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

        Pointer Arithmetics

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

         bActionConstraint bactionconstraint = ...;
         CPointer<Object> p = bactionconstraint.__dna__addressof(bActionConstraint.__DNA__FIELD__act);
         CPointer<CPointer<bAction>> p_act = p.cast(new Class[]{CPointer.class, bAction.class});
         

        Metadata

        • Field: 'act'
        • Signature: 'bAction*'
        • 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

        MAX_ID_NAME-2.

        Pointer Arithmetics

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

         bActionConstraint bactionconstraint = ...;
         CPointer<Object> p = bactionconstraint.__dna__addressof(bActionConstraint.__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

      • bActionConstraint

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

      • getType

        public short getType()
                      throws java.io.IOException
        Get method for struct member 'type'.

        Field Documentation

        Blender Source Code

        What transform 'channel' drives the result.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__type
      • setType

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

        Field Documentation

        Blender Source Code

        What transform 'channel' drives the result.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__type
      • getLocal

        public short getLocal()
                       throws java.io.IOException
        Get method for struct member 'local'.

        Field Documentation

        Blender Source Code

        Was used in versions prior to the Constraints recode.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__local
      • setLocal

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

        Field Documentation

        Blender Source Code

        Was used in versions prior to the Constraints recode.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__local
      • getStart

        public int getStart()
                     throws java.io.IOException
        Get method for struct member 'start'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__start
      • setStart

        public void setStart​(int start)
                      throws java.io.IOException
        Set method for struct member 'start'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__start
      • getEnd

        public int getEnd()
                   throws java.io.IOException
        Get method for struct member 'end'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__end
      • setEnd

        public void setEnd​(int end)
                    throws java.io.IOException
        Set method for struct member 'end'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__end
      • getMin

        public float getMin()
                     throws java.io.IOException
        Get method for struct member 'min'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__min
      • setMin

        public void setMin​(float min)
                    throws java.io.IOException
        Set method for struct member 'min'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__min
      • getMax

        public float getMax()
                     throws java.io.IOException
        Get method for struct member 'max'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__max
      • setMax

        public void setMax​(float max)
                    throws java.io.IOException
        Set method for struct member 'max'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__max
      • 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
      • getMix_mode

        public byte getMix_mode()
                         throws java.io.IOException
        Get method for struct member 'mix_mode'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__mix_mode
      • setMix_mode

        public void setMix_mode​(byte mix_mode)
                         throws java.io.IOException
        Set method for struct member 'mix_mode'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__mix_mode
      • 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
      • getEval_time

        public float getEval_time()
                           throws java.io.IOException
        Get method for struct member 'eval_time'.

        Field Documentation

        Blender Source Code

        Only used when flag ACTCON_USE_EVAL_TIME is set.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__eval_time
      • setEval_time

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

        Field Documentation

        Blender Source Code

        Only used when flag ACTCON_USE_EVAL_TIME is set.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__eval_time
      • getAct

        public CPointer<bAction> getAct()
                                 throws java.io.IOException
        Get method for struct member 'act'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__act
      • setAct

        public void setAct​(CPointer<bAction> act)
                    throws java.io.IOException
        Set method for struct member 'act'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__act
      • 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