Class SubdivGpencilModifierData


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

    Class Documentation

    • Field Detail

      • __DNA__SDNA_INDEX

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

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

        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:

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

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

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

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

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

         SubdivGpencilModifierData subdivgpencilmodifierdata = ...;
         CPointer<Object> p = subdivgpencilmodifierdata.__dna__addressof(SubdivGpencilModifierData.__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__level

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

        Field Documentation

        Blender Source Code

        Factor of subdivision.

        Pointer Arithmetics

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

         SubdivGpencilModifierData subdivgpencilmodifierdata = ...;
         CPointer<Object> p = subdivgpencilmodifierdata.__dna__addressof(SubdivGpencilModifierData.__DNA__FIELD__level);
         CPointer<Integer> p_level = p.cast(new Class[]{Integer.class});
         

        Metadata

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

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

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

        Field Documentation

        Blender Source Code

        Type of subdivision

        Pointer Arithmetics

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

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

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

      • SubdivGpencilModifierData

        public SubdivGpencilModifierData​(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
      • 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
      • getLevel

        public int getLevel()
                     throws java.io.IOException
        Get method for struct member 'level'.

        Field Documentation

        Blender Source Code

        Factor of subdivision.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__level
      • setLevel

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

        Field Documentation

        Blender Source Code

        Factor of subdivision.

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

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

        Field Documentation

        Blender Source Code

        Type of subdivision

        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

        Type of subdivision

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