Class GpencilModifierData


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

    Class Documentation

    • Field Detail

      • __DNA__SDNA_INDEX

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

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

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

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

        Pointer Arithmetics

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

         GpencilModifierData gpencilmodifierdata = ...;
         CPointer<Object> p = gpencilmodifierdata.__dna__addressof(GpencilModifierData.__DNA__FIELD__next);
         CPointer<CPointer<GpencilModifierData>> p_next = p.cast(new Class[]{CPointer.class, GpencilModifierData.class});
         

        Metadata

        • Field: 'next'
        • Signature: 'GpencilModifierData*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__prev

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

        Pointer Arithmetics

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

         GpencilModifierData gpencilmodifierdata = ...;
         CPointer<Object> p = gpencilmodifierdata.__dna__addressof(GpencilModifierData.__DNA__FIELD__prev);
         CPointer<CPointer<GpencilModifierData>> p_prev = p.cast(new Class[]{CPointer.class, GpencilModifierData.class});
         

        Metadata

        • Field: 'prev'
        • Signature: 'GpencilModifierData*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__type

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

        Pointer Arithmetics

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

         GpencilModifierData gpencilmodifierdata = ...;
         CPointer<Object> p = gpencilmodifierdata.__dna__addressof(GpencilModifierData.__DNA__FIELD__type);
         CPointer<Integer> p_type = p.cast(new Class[]{Integer.class});
         

        Metadata

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

         GpencilModifierData gpencilmodifierdata = ...;
         CPointer<Object> p = gpencilmodifierdata.__dna__addressof(GpencilModifierData.__DNA__FIELD__mode);
         CPointer<Integer> p_mode = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'mode'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__stackindex

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

        Pointer Arithmetics

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

         GpencilModifierData gpencilmodifierdata = ...;
         CPointer<Object> p = gpencilmodifierdata.__dna__addressof(GpencilModifierData.__DNA__FIELD__stackindex);
         CPointer<Integer> p_stackindex = p.cast(new Class[]{Integer.class});
         

        Metadata

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

        Pointer Arithmetics

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

         GpencilModifierData gpencilmodifierdata = ...;
         CPointer<Object> p = gpencilmodifierdata.__dna__addressof(GpencilModifierData.__DNA__FIELD__flag);
         CPointer<Short> p_flag = p.cast(new Class[]{Short.class});
         

        Metadata

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

         GpencilModifierData gpencilmodifierdata = ...;
         CPointer<Object> p = gpencilmodifierdata.__dna__addressof(GpencilModifierData.__DNA__FIELD___pad);
         CPointer<Short> p__pad = p.cast(new Class[]{Short.class});
         

        Metadata

        • Field: '_pad'
        • Signature: 'short'
        • Actual Size (32bit/64bit): 2/2
      • __DNA__FIELD__name

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

        Field Documentation

        Blender Source Code

        MAX_NAME.

        Pointer Arithmetics

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

         GpencilModifierData gpencilmodifierdata = ...;
         CPointer<Object> p = gpencilmodifierdata.__dna__addressof(GpencilModifierData.__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__error

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

        Pointer Arithmetics

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

         GpencilModifierData gpencilmodifierdata = ...;
         CPointer<Object> p = gpencilmodifierdata.__dna__addressof(GpencilModifierData.__DNA__FIELD__error);
         CPointer<CPointer<Byte>> p_error = p.cast(new Class[]{CPointer.class, Byte.class});
         

        Metadata

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

      • GpencilModifierData

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

      • getType

        public int getType()
                    throws java.io.IOException
        Get method for struct member 'type'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__type
      • setType

        public void setType​(int type)
                     throws java.io.IOException
        Set method for struct member 'type'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__type
      • getMode

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

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

        public int getStackindex()
                          throws java.io.IOException
        Get method for struct member 'stackindex'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__stackindex
      • setStackindex

        public void setStackindex​(int stackindex)
                           throws java.io.IOException
        Set method for struct member 'stackindex'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__stackindex
      • getFlag

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

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

        public short 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​(short _pad)
                     throws java.io.IOException
        Set method for struct member '_pad'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD___pad
      • getName

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

        Field Documentation

        Blender Source Code

        MAX_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

        MAX_NAME.

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

        public CPointer<java.lang.Byte> getError()
                                          throws java.io.IOException
        Get method for struct member 'error'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__error
      • setError

        public void setError​(CPointer<java.lang.Byte> error)
                      throws java.io.IOException
        Set method for struct member 'error'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__error