Class TextureGpencilModifierData


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

    Class Documentation

    • Field Detail

      • __DNA__SDNA_INDEX

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

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

        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:

         TextureGpencilModifierData texturegpencilmodifierdata = ...;
         CPointer<Object> p = texturegpencilmodifierdata.__dna__addressof(TextureGpencilModifierData.__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__material

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

        Field Documentation

        Blender Source Code

        Material for filtering.

        Pointer Arithmetics

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

         TextureGpencilModifierData texturegpencilmodifierdata = ...;
         CPointer<Object> p = texturegpencilmodifierdata.__dna__addressof(TextureGpencilModifierData.__DNA__FIELD__material);
         CPointer<CPointer<Material>> p_material = p.cast(new Class[]{CPointer.class, Material.class});
         

        Metadata

        • Field: 'material'
        • Signature: 'Material*'
        • Actual Size (32bit/64bit): 4/8
      • __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:

         TextureGpencilModifierData texturegpencilmodifierdata = ...;
         CPointer<Object> p = texturegpencilmodifierdata.__dna__addressof(TextureGpencilModifierData.__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
        Deprecated.
        Deprecated

        Pointer Arithmetics

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

         TextureGpencilModifierData texturegpencilmodifierdata = ...;
         CPointer<Object> p = texturegpencilmodifierdata.__dna__addressof(TextureGpencilModifierData.__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
        Field descriptor (offset) for struct member 'materialname'.

        Field Documentation

        Blender Source Code

        Material name.

      • __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:

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

         TextureGpencilModifierData texturegpencilmodifierdata = ...;
         CPointer<Object> p = texturegpencilmodifierdata.__dna__addressof(TextureGpencilModifierData.__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__flag

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

        Field Documentation

        Blender Source Code

        Flags.

        Pointer Arithmetics

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

         TextureGpencilModifierData texturegpencilmodifierdata = ...;
         CPointer<Object> p = texturegpencilmodifierdata.__dna__addressof(TextureGpencilModifierData.__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__uv_offset

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

        Field Documentation

        Blender Source Code

        Offset value to add to uv_fac.

        Pointer Arithmetics

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

         TextureGpencilModifierData texturegpencilmodifierdata = ...;
         CPointer<Object> p = texturegpencilmodifierdata.__dna__addressof(TextureGpencilModifierData.__DNA__FIELD__uv_offset);
         CPointer<Float> p_uv_offset = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'uv_offset'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__uv_scale

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

        Pointer Arithmetics

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

         TextureGpencilModifierData texturegpencilmodifierdata = ...;
         CPointer<Object> p = texturegpencilmodifierdata.__dna__addressof(TextureGpencilModifierData.__DNA__FIELD__uv_scale);
         CPointer<Float> p_uv_scale = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'uv_scale'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__fill_rotation

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

        Pointer Arithmetics

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

         TextureGpencilModifierData texturegpencilmodifierdata = ...;
         CPointer<Object> p = texturegpencilmodifierdata.__dna__addressof(TextureGpencilModifierData.__DNA__FIELD__fill_rotation);
         CPointer<Float> p_fill_rotation = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'fill_rotation'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__fill_offset

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

        Pointer Arithmetics

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

         TextureGpencilModifierData texturegpencilmodifierdata = ...;
         CPointer<Object> p = texturegpencilmodifierdata.__dna__addressof(TextureGpencilModifierData.__DNA__FIELD__fill_offset);
         CPointer<CArrayFacade<Float>> p_fill_offset = p.cast(new Class[]{CArrayFacade.class, Float.class});
         

        Metadata

        • Field: 'fill_offset'
        • Signature: 'float[2]'
        • Actual Size (32bit/64bit): 8/8
      • __DNA__FIELD__fill_scale

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

        Pointer Arithmetics

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

         TextureGpencilModifierData texturegpencilmodifierdata = ...;
         CPointer<Object> p = texturegpencilmodifierdata.__dna__addressof(TextureGpencilModifierData.__DNA__FIELD__fill_scale);
         CPointer<Float> p_fill_scale = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'fill_scale'
        • Signature: 'float'
        • 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:

         TextureGpencilModifierData texturegpencilmodifierdata = ...;
         CPointer<Object> p = texturegpencilmodifierdata.__dna__addressof(TextureGpencilModifierData.__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__fit_method

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

        Field Documentation

        Blender Source Code

        Texture fit options.

        Pointer Arithmetics

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

         TextureGpencilModifierData texturegpencilmodifierdata = ...;
         CPointer<Object> p = texturegpencilmodifierdata.__dna__addressof(TextureGpencilModifierData.__DNA__FIELD__fit_method);
         CPointer<Short> p_fit_method = p.cast(new Class[]{Short.class});
         

        Metadata

        • Field: 'fit_method'
        • Signature: 'short'
        • Actual Size (32bit/64bit): 2/2
      • __DNA__FIELD__mode

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

        Pointer Arithmetics

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

         TextureGpencilModifierData texturegpencilmodifierdata = ...;
         CPointer<Object> p = texturegpencilmodifierdata.__dna__addressof(TextureGpencilModifierData.__DNA__FIELD__mode);
         CPointer<Short> p_mode = p.cast(new Class[]{Short.class});
         

        Metadata

        • Field: 'mode'
        • Signature: 'short'
        • Actual Size (32bit/64bit): 2/2
      • __DNA__FIELD__alignment_rotation

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

        Field Documentation

        Blender Source Code

        Dot texture rotation

        Pointer Arithmetics

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

         TextureGpencilModifierData texturegpencilmodifierdata = ...;
         CPointer<Object> p = texturegpencilmodifierdata.__dna__addressof(TextureGpencilModifierData.__DNA__FIELD__alignment_rotation);
         CPointer<Float> p_alignment_rotation = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'alignment_rotation'
        • Signature: 'float'
        • 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:

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

      • TextureGpencilModifierData

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

      • getMaterial

        public CPointer<Material> getMaterial()
                                       throws java.io.IOException
        Get method for struct member 'material'.

        Field Documentation

        Blender Source Code

        Material for filtering.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__material
      • setMaterial

        public void setMaterial​(CPointer<Material> material)
                         throws java.io.IOException
        Set method for struct member 'material'.

        Field Documentation

        Blender Source Code

        Material for filtering.

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

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

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

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

        Field Documentation

        Blender Source Code

        Flags.

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

        Field Documentation

        Blender Source Code

        Flags.

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

        public float getUv_offset()
                           throws java.io.IOException
        Get method for struct member 'uv_offset'.

        Field Documentation

        Blender Source Code

        Offset value to add to uv_fac.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__uv_offset
      • setUv_offset

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

        Field Documentation

        Blender Source Code

        Offset value to add to uv_fac.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__uv_offset
      • getUv_scale

        public float getUv_scale()
                          throws java.io.IOException
        Get method for struct member 'uv_scale'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__uv_scale
      • setUv_scale

        public void setUv_scale​(float uv_scale)
                         throws java.io.IOException
        Set method for struct member 'uv_scale'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__uv_scale
      • getFill_rotation

        public float getFill_rotation()
                               throws java.io.IOException
        Get method for struct member 'fill_rotation'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__fill_rotation
      • setFill_rotation

        public void setFill_rotation​(float fill_rotation)
                              throws java.io.IOException
        Set method for struct member 'fill_rotation'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__fill_rotation
      • getFill_offset

        public CArrayFacade<java.lang.Float> getFill_offset()
                                                     throws java.io.IOException
        Get method for struct member 'fill_offset'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__fill_offset
      • setFill_offset

        public void setFill_offset​(CArrayFacade<java.lang.Float> fill_offset)
                            throws java.io.IOException
        Set method for struct member 'fill_offset'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__fill_offset
      • getFill_scale

        public float getFill_scale()
                            throws java.io.IOException
        Get method for struct member 'fill_scale'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__fill_scale
      • setFill_scale

        public void setFill_scale​(float fill_scale)
                           throws java.io.IOException
        Set method for struct member 'fill_scale'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__fill_scale
      • 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
      • getFit_method

        public short getFit_method()
                            throws java.io.IOException
        Get method for struct member 'fit_method'.

        Field Documentation

        Blender Source Code

        Texture fit options.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__fit_method
      • setFit_method

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

        Field Documentation

        Blender Source Code

        Texture fit options.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__fit_method
      • getMode

        public short getMode()
                      throws java.io.IOException
        Get method for struct member 'mode'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__mode
      • setMode

        public void setMode​(short mode)
                     throws java.io.IOException
        Set method for struct member 'mode'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__mode
      • getAlignment_rotation

        public float getAlignment_rotation()
                                    throws java.io.IOException
        Get method for struct member 'alignment_rotation'.

        Field Documentation

        Blender Source Code

        Dot texture rotation

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__alignment_rotation
      • setAlignment_rotation

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

        Field Documentation

        Blender Source Code

        Dot texture rotation

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