Class HookGpencilModifierData


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

    Class Documentation

    • Field Detail

      • __DNA__SDNA_INDEX

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

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

        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:

         HookGpencilModifierData hookgpencilmodifierdata = ...;
         CPointer<Object> p = hookgpencilmodifierdata.__dna__addressof(HookGpencilModifierData.__DNA__FIELD__modifier);
         CPointer<GpencilModifierData> p_modifier = p.cast(new Class[]{GpencilModifierData.class});
         

        Metadata

        • Field: 'modifier'
        • Signature: 'GpencilModifierData'
        • Actual Size (32bit/64bit): 92/104
      • __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:

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

         HookGpencilModifierData hookgpencilmodifierdata = ...;
         CPointer<Object> p = hookgpencilmodifierdata.__dna__addressof(HookGpencilModifierData.__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__layername

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

        Field Documentation

        Blender Source Code

        Layer name.

        Pointer Arithmetics

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

         HookGpencilModifierData hookgpencilmodifierdata = ...;
         CPointer<Object> p = hookgpencilmodifierdata.__dna__addressof(HookGpencilModifierData.__DNA__FIELD__layername);
         CPointer<CArrayFacade<Byte>> p_layername = p.cast(new Class[]{CArrayFacade.class, Byte.class});
         

        Metadata

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

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

        Field Documentation

        Blender Source Code

        Material name.

        Pointer Arithmetics

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

         HookGpencilModifierData hookgpencilmodifierdata = ...;
         CPointer<Object> p = hookgpencilmodifierdata.__dna__addressof(HookGpencilModifierData.__DNA__FIELD__materialname);
         CPointer<CArrayFacade<Byte>> p_materialname = p.cast(new Class[]{CArrayFacade.class, Byte.class});
         

        Metadata

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

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

        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:

         HookGpencilModifierData hookgpencilmodifierdata = ...;
         CPointer<Object> p = hookgpencilmodifierdata.__dna__addressof(HookGpencilModifierData.__DNA__FIELD__vgname);
         CPointer<CArrayFacade<Byte>> p_vgname = p.cast(new Class[]{CArrayFacade.class, Byte.class});
         

        Metadata

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

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

        Field Documentation

        Blender Source Code

        Custom index for passes.

        Pointer Arithmetics

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

         HookGpencilModifierData hookgpencilmodifierdata = ...;
         CPointer<Object> p = hookgpencilmodifierdata.__dna__addressof(HookGpencilModifierData.__DNA__FIELD__pass_index);
         CPointer<Integer> p_pass_index = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'pass_index'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__layer_pass

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

        Field Documentation

        Blender Source Code

        Custom index for passes.

        Pointer Arithmetics

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

         HookGpencilModifierData hookgpencilmodifierdata = ...;
         CPointer<Object> p = hookgpencilmodifierdata.__dna__addressof(HookGpencilModifierData.__DNA__FIELD__layer_pass);
         CPointer<Integer> p_layer_pass = p.cast(new Class[]{Integer.class});
         

        Metadata

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

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

        Metadata

        • Field: '_pad'
        • Signature: 'char[4]'
        • 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:

         HookGpencilModifierData hookgpencilmodifierdata = ...;
         CPointer<Object> p = hookgpencilmodifierdata.__dna__addressof(HookGpencilModifierData.__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__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 WarpGpencilModifier (exact same functionality).

        Pointer Arithmetics

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

         HookGpencilModifierData hookgpencilmodifierdata = ...;
         CPointer<Object> p = hookgpencilmodifierdata.__dna__addressof(HookGpencilModifierData.__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___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:

         HookGpencilModifierData hookgpencilmodifierdata = ...;
         CPointer<Object> p = hookgpencilmodifierdata.__dna__addressof(HookGpencilModifierData.__DNA__FIELD___pad1);
         CPointer<CArrayFacade<Byte>> p__pad1 = p.cast(new Class[]{CArrayFacade.class, Byte.class});
         

        Metadata

        • Field: '_pad1'
        • Signature: 'char[3]'
        • Actual Size (32bit/64bit): 3/3
      • __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:

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

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

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

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

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

      • HookGpencilModifierData

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

      • 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
      • getLayername

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

        Field Documentation

        Blender Source Code

        Layer name.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__layername
      • setLayername

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

        Field Documentation

        Blender Source Code

        Layer name.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__layername
      • getMaterialname

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

        Field Documentation

        Blender Source Code

        Material name.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__materialname
      • setMaterialname

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

        Field Documentation

        Blender Source Code

        Material name.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__materialname
      • getVgname

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

        Field Documentation

        Blender Source Code

        Optional vertexgroup name, MAX_VGROUP_NAME.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__vgname
      • setVgname

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

        Field Documentation

        Blender Source Code

        Optional vertexgroup name, MAX_VGROUP_NAME.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__vgname
      • getPass_index

        public int getPass_index()
                          throws java.io.IOException
        Get method for struct member 'pass_index'.

        Field Documentation

        Blender Source Code

        Custom index for passes.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__pass_index
      • setPass_index

        public void setPass_index​(int pass_index)
                           throws java.io.IOException
        Set method for struct member 'pass_index'.

        Field Documentation

        Blender Source Code

        Custom index for passes.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__pass_index
      • getLayer_pass

        public int getLayer_pass()
                          throws java.io.IOException
        Get method for struct member 'layer_pass'.

        Field Documentation

        Blender Source Code

        Custom index for passes.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__layer_pass
      • setLayer_pass

        public void setLayer_pass​(int layer_pass)
                           throws java.io.IOException
        Set method for struct member 'layer_pass'.

        Field Documentation

        Blender Source Code

        Custom index for passes.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__layer_pass
      • 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
      • 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
      • 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 WarpGpencilModifier (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 WarpGpencilModifier (exact same functionality).

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

        public CArrayFacade<java.lang.Byte> 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​(CArrayFacade<java.lang.Byte> _pad1)
                      throws java.io.IOException
        Set method for struct member '_pad1'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD___pad1
      • 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
      • 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