Class TimeGpencilModifierData


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

    Class Documentation

    • Field Detail

      • __DNA__SDNA_INDEX

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

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

        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:

         TimeGpencilModifierData timegpencilmodifierdata = ...;
         CPointer<Object> p = timegpencilmodifierdata.__dna__addressof(TimeGpencilModifierData.__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'.

        Pointer Arithmetics

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

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

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

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

         TimeGpencilModifierData timegpencilmodifierdata = ...;
         CPointer<Object> p = timegpencilmodifierdata.__dna__addressof(TimeGpencilModifierData.__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__offset

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

        Pointer Arithmetics

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

         TimeGpencilModifierData timegpencilmodifierdata = ...;
         CPointer<Object> p = timegpencilmodifierdata.__dna__addressof(TimeGpencilModifierData.__DNA__FIELD__offset);
         CPointer<Integer> p_offset = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'offset'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__frame_scale

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

        Field Documentation

        Blender Source Code

        Animation scale.

        Pointer Arithmetics

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

         TimeGpencilModifierData timegpencilmodifierdata = ...;
         CPointer<Object> p = timegpencilmodifierdata.__dna__addressof(TimeGpencilModifierData.__DNA__FIELD__frame_scale);
         CPointer<Float> p_frame_scale = p.cast(new Class[]{Float.class});
         

        Metadata

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

         TimeGpencilModifierData timegpencilmodifierdata = ...;
         CPointer<Object> p = timegpencilmodifierdata.__dna__addressof(TimeGpencilModifierData.__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__sfra

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

        Field Documentation

        Blender Source Code

        Start and end frame for custom range.

        Pointer Arithmetics

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

         TimeGpencilModifierData timegpencilmodifierdata = ...;
         CPointer<Object> p = timegpencilmodifierdata.__dna__addressof(TimeGpencilModifierData.__DNA__FIELD__sfra);
         CPointer<Integer> p_sfra = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'sfra'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__efra

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

        Pointer Arithmetics

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

         TimeGpencilModifierData timegpencilmodifierdata = ...;
         CPointer<Object> p = timegpencilmodifierdata.__dna__addressof(TimeGpencilModifierData.__DNA__FIELD__efra);
         CPointer<Integer> p_efra = p.cast(new Class[]{Integer.class});
         

        Metadata

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

         TimeGpencilModifierData timegpencilmodifierdata = ...;
         CPointer<Object> p = timegpencilmodifierdata.__dna__addressof(TimeGpencilModifierData.__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__segments

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

        Pointer Arithmetics

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

         TimeGpencilModifierData timegpencilmodifierdata = ...;
         CPointer<Object> p = timegpencilmodifierdata.__dna__addressof(TimeGpencilModifierData.__DNA__FIELD__segments);
         CPointer<CPointer<TimeGpencilModifierSegment>> p_segments = p.cast(new Class[]{CPointer.class, TimeGpencilModifierSegment.class});
         

        Metadata

        • Field: 'segments'
        • Signature: 'TimeGpencilModifierSegment*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__segments_len

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

        Pointer Arithmetics

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

         TimeGpencilModifierData timegpencilmodifierdata = ...;
         CPointer<Object> p = timegpencilmodifierdata.__dna__addressof(TimeGpencilModifierData.__DNA__FIELD__segments_len);
         CPointer<Integer> p_segments_len = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'segments_len'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__segment_active_index

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

        Pointer Arithmetics

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

         TimeGpencilModifierData timegpencilmodifierdata = ...;
         CPointer<Object> p = timegpencilmodifierdata.__dna__addressof(TimeGpencilModifierData.__DNA__FIELD__segment_active_index);
         CPointer<Integer> p_segment_active_index = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'segment_active_index'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
    • Constructor Detail

      • TimeGpencilModifierData

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

      • setMaterial

        public void setMaterial​(CPointer<Material> material)
                         throws java.io.IOException
        Set method for struct member 'material'.
        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
      • 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
      • 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
      • getOffset

        public int getOffset()
                      throws java.io.IOException
        Get method for struct member 'offset'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__offset
      • setOffset

        public void setOffset​(int offset)
                       throws java.io.IOException
        Set method for struct member 'offset'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__offset
      • getFrame_scale

        public float getFrame_scale()
                             throws java.io.IOException
        Get method for struct member 'frame_scale'.

        Field Documentation

        Blender Source Code

        Animation scale.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__frame_scale
      • setFrame_scale

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

        Field Documentation

        Blender Source Code

        Animation scale.

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

        public int getSfra()
                    throws java.io.IOException
        Get method for struct member 'sfra'.

        Field Documentation

        Blender Source Code

        Start and end frame for custom range.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__sfra
      • setSfra

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

        Field Documentation

        Blender Source Code

        Start and end frame for custom range.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__sfra
      • getEfra

        public int getEfra()
                    throws java.io.IOException
        Get method for struct member 'efra'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__efra
      • setEfra

        public void setEfra​(int efra)
                     throws java.io.IOException
        Set method for struct member 'efra'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__efra
      • 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
      • getSegments_len

        public int getSegments_len()
                            throws java.io.IOException
        Get method for struct member 'segments_len'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__segments_len
      • setSegments_len

        public void setSegments_len​(int segments_len)
                             throws java.io.IOException
        Set method for struct member 'segments_len'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__segments_len
      • getSegment_active_index

        public int getSegment_active_index()
                                    throws java.io.IOException
        Get method for struct member 'segment_active_index'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__segment_active_index
      • setSegment_active_index

        public void setSegment_active_index​(int segment_active_index)
                                     throws java.io.IOException
        Set method for struct member 'segment_active_index'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__segment_active_index