Class HookModifierData


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

    Class Documentation

    • Field Detail

      • __DNA__SDNA_INDEX

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

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

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

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

        Pointer Arithmetics

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

         HookModifierData hookmodifierdata = ...;
         CPointer<Object> p = hookmodifierdata.__dna__addressof(HookModifierData.__DNA__FIELD__modifier);
         CPointer<ModifierData> p_modifier = p.cast(new Class[]{ModifierData.class});
         

        Metadata

        • Field: 'modifier'
        • Signature: 'ModifierData'
        • Actual Size (32bit/64bit): 104/120
      • __DNA__FIELD__object

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

        Pointer Arithmetics

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

         HookModifierData hookmodifierdata = ...;
         CPointer<Object> p = hookmodifierdata.__dna__addressof(HookModifierData.__DNA__FIELD__object);
         CPointer<CPointer<BlenderObject>> p_object = p.cast(new Class[]{CPointer.class, BlenderObject.class});
         

        Metadata

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

        Optional name of bone target, MAX_ID_NAME-2.

        Pointer Arithmetics

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

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

         HookModifierData hookmodifierdata = ...;
         CPointer<Object> p = hookmodifierdata.__dna__addressof(HookModifierData.__DNA__FIELD__flag);
         CPointer<Byte> p_flag = p.cast(new Class[]{Byte.class});
         

        Metadata

        • Field: 'flag'
        • Signature: 'char'
        • Actual Size (32bit/64bit): 1/1
      • __DNA__FIELD__falloff_type

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

        Field Documentation

        Blender Source Code

        Use enums from WarpModifier (exact same functionality).

        Pointer Arithmetics

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

         HookModifierData hookmodifierdata = ...;
         CPointer<Object> p = hookmodifierdata.__dna__addressof(HookModifierData.__DNA__FIELD__falloff_type);
         CPointer<Byte> p_falloff_type = p.cast(new Class[]{Byte.class});
         

        Metadata

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

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

        Metadata

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

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

        Field Documentation

        Blender Source Code

        Matrix making current transform unmodified.

        Pointer Arithmetics

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

         HookModifierData hookmodifierdata = ...;
         CPointer<Object> p = hookmodifierdata.__dna__addressof(HookModifierData.__DNA__FIELD__parentinv);
         CPointer<CArrayFacade<CArrayFacade<Float>>> p_parentinv = p.cast(new Class[]{CArrayFacade.class, CArrayFacade.class, Float.class});
         

        Metadata

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

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

        Field Documentation

        Blender Source Code

        Visualization of hook.

        Pointer Arithmetics

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

         HookModifierData hookmodifierdata = ...;
         CPointer<Object> p = hookmodifierdata.__dna__addressof(HookModifierData.__DNA__FIELD__cent);
         CPointer<CArrayFacade<Float>> p_cent = p.cast(new Class[]{CArrayFacade.class, Float.class});
         

        Metadata

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

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

        Field Documentation

        Blender Source Code

        If not zero, falloff is distance where influence zero.

        Pointer Arithmetics

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

         HookModifierData hookmodifierdata = ...;
         CPointer<Object> p = hookmodifierdata.__dna__addressof(HookModifierData.__DNA__FIELD__falloff);
         CPointer<Float> p_falloff = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'falloff'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__curfalloff

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

        Pointer Arithmetics

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

         HookModifierData hookmodifierdata = ...;
         CPointer<Object> p = hookmodifierdata.__dna__addressof(HookModifierData.__DNA__FIELD__curfalloff);
         CPointer<CPointer<CurveMapping>> p_curfalloff = p.cast(new Class[]{CPointer.class, CurveMapping.class});
         

        Metadata

        • Field: 'curfalloff'
        • Signature: 'CurveMapping*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__indexar

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

        Field Documentation

        Blender Source Code

        If NULL, it's using vertexgroup.

        Pointer Arithmetics

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

         HookModifierData hookmodifierdata = ...;
         CPointer<Object> p = hookmodifierdata.__dna__addressof(HookModifierData.__DNA__FIELD__indexar);
         CPointer<CPointer<Integer>> p_indexar = p.cast(new Class[]{CPointer.class, Integer.class});
         

        Metadata

        • Field: 'indexar'
        • Signature: 'int*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__totindex

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

        Pointer Arithmetics

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

         HookModifierData hookmodifierdata = ...;
         CPointer<Object> p = hookmodifierdata.__dna__addressof(HookModifierData.__DNA__FIELD__totindex);
         CPointer<Integer> p_totindex = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'totindex'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__force

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

        Pointer Arithmetics

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

         HookModifierData hookmodifierdata = ...;
         CPointer<Object> p = hookmodifierdata.__dna__addressof(HookModifierData.__DNA__FIELD__force);
         CPointer<Float> p_force = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'force'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__name

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

        Field Documentation

        Blender Source Code

        Optional vertexgroup name, MAX_VGROUP_NAME.

        Pointer Arithmetics

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

         HookModifierData hookmodifierdata = ...;
         CPointer<Object> p = hookmodifierdata.__dna__addressof(HookModifierData.__DNA__FIELD__name);
         CPointer<CArrayFacade<Byte>> p_name = p.cast(new Class[]{CArrayFacade.class, Byte.class});
         

        Metadata

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

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

        Pointer Arithmetics

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

         HookModifierData hookmodifierdata = ...;
         CPointer<Object> p = hookmodifierdata.__dna__addressof(HookModifierData.__DNA__FIELD___pad1);
         CPointer<CPointer<Object>> p__pad1 = p.cast(new Class[]{CPointer.class, Object.class});
         

        Metadata

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

      • HookModifierData

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

      • getModifier

        public ModifierData getModifier()
                                 throws java.io.IOException
        Get method for struct member 'modifier'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__modifier
      • setModifier

        public void setModifier​(ModifierData modifier)
                         throws java.io.IOException
        Set method for struct member 'modifier'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__modifier
      • getSubtarget

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

        Field Documentation

        Blender Source Code

        Optional name of bone target, 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

        Optional name of bone target, MAX_ID_NAME-2.

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

        public byte getFlag()
                     throws java.io.IOException
        Get method for struct member 'flag'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__flag
      • setFlag

        public void setFlag​(byte flag)
                     throws java.io.IOException
        Set method for struct member 'flag'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__flag
      • getFalloff_type

        public byte getFalloff_type()
                             throws java.io.IOException
        Get method for struct member 'falloff_type'.

        Field Documentation

        Blender Source Code

        Use enums from WarpModifier (exact same functionality).

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__falloff_type
      • setFalloff_type

        public void setFalloff_type​(byte falloff_type)
                             throws java.io.IOException
        Set method for struct member 'falloff_type'.

        Field Documentation

        Blender Source Code

        Use enums from WarpModifier (exact same functionality).

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__falloff_type
      • 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
      • getParentinv

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

        Field Documentation

        Blender Source Code

        Matrix making current transform unmodified.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__parentinv
      • setParentinv

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

        Field Documentation

        Blender Source Code

        Matrix making current transform unmodified.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__parentinv
      • getCent

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

        Field Documentation

        Blender Source Code

        Visualization of hook.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__cent
      • setCent

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

        Field Documentation

        Blender Source Code

        Visualization of hook.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__cent
      • getFalloff

        public float getFalloff()
                         throws java.io.IOException
        Get method for struct member 'falloff'.

        Field Documentation

        Blender Source Code

        If not zero, falloff is distance where influence zero.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__falloff
      • setFalloff

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

        Field Documentation

        Blender Source Code

        If not zero, falloff is distance where influence zero.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__falloff
      • getIndexar

        public CPointer<java.lang.Integer> getIndexar()
                                               throws java.io.IOException
        Get method for struct member 'indexar'.

        Field Documentation

        Blender Source Code

        If NULL, it's using vertexgroup.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__indexar
      • setIndexar

        public void setIndexar​(CPointer<java.lang.Integer> indexar)
                        throws java.io.IOException
        Set method for struct member 'indexar'.

        Field Documentation

        Blender Source Code

        If NULL, it's using vertexgroup.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__indexar
      • getTotindex

        public int getTotindex()
                        throws java.io.IOException
        Get method for struct member 'totindex'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__totindex
      • setTotindex

        public void setTotindex​(int totindex)
                         throws java.io.IOException
        Set method for struct member 'totindex'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__totindex
      • getForce

        public float getForce()
                       throws java.io.IOException
        Get method for struct member 'force'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__force
      • setForce

        public void setForce​(float force)
                      throws java.io.IOException
        Set method for struct member 'force'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__force
      • getName

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

        Field Documentation

        Blender Source Code

        Optional vertexgroup name, MAX_VGROUP_NAME.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__name
      • setName

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

        Field Documentation

        Blender Source Code

        Optional vertexgroup name, MAX_VGROUP_NAME.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__name
      • get_pad1

        public CPointer<java.lang.Object> get_pad1()
                                            throws java.io.IOException
        Get method for struct member '_pad1'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD___pad1
      • set_pad1

        public void set_pad1​(CPointer<java.lang.Object> _pad1)
                      throws java.io.IOException
        Set method for struct member '_pad1'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD___pad1