Class bGPDlayer


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

    Class Documentation

    Blender Source Code

    Grease-Pencil Annotations - 'Layer'

    • Field Detail

      • __DNA__SDNA_INDEX

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

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

        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:

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

        Metadata

        • Field: 'next'
        • Signature: 'bGPDlayer*'
        • 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:

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

        Metadata

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

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

        Field Documentation

        Blender Source Code

        List of annotations to display for frames (bGPDframe list).

        Pointer Arithmetics

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

         bGPDlayer bgpdlayer = ...;
         CPointer<Object> p = bgpdlayer.__dna__addressof(bGPDlayer.__DNA__FIELD__frames);
         CPointer<ListBase> p_frames = p.cast(new Class[]{ListBase.class});
         

        Metadata

        • Field: 'frames'
        • Signature: 'ListBase'
        • Actual Size (32bit/64bit): 8/16
      • __DNA__FIELD__actframe

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

        Field Documentation

        Blender Source Code

        Active frame (should be the frame that is currently being displayed).

        Pointer Arithmetics

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

         bGPDlayer bgpdlayer = ...;
         CPointer<Object> p = bgpdlayer.__dna__addressof(bGPDlayer.__DNA__FIELD__actframe);
         CPointer<CPointer<bGPDframe>> p_actframe = p.cast(new Class[]{CPointer.class, bGPDframe.class});
         

        Metadata

        • Field: 'actframe'
        • Signature: 'bGPDframe*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__flag

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

        Field Documentation

        Blender Source Code

        Settings for layer.

        Pointer Arithmetics

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

         bGPDlayer bgpdlayer = ...;
         CPointer<Object> p = bgpdlayer.__dna__addressof(bGPDlayer.__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__onion_flag

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

        Field Documentation

        Blender Source Code

        Per-layer onion-skinning flags (eGPDlayer_OnionFlag).

        Pointer Arithmetics

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

         bGPDlayer bgpdlayer = ...;
         CPointer<Object> p = bgpdlayer.__dna__addressof(bGPDlayer.__DNA__FIELD__onion_flag);
         CPointer<Short> p_onion_flag = p.cast(new Class[]{Short.class});
         

        Metadata

        • Field: 'onion_flag'
        • Signature: 'short'
        • Actual Size (32bit/64bit): 2/2
      • __DNA__FIELD__color

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

        Field Documentation

        Blender Source Code

        Color for strokes in layers. Used for annotations, and for ruler (which uses GPencil internally).

        Pointer Arithmetics

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

         bGPDlayer bgpdlayer = ...;
         CPointer<Object> p = bgpdlayer.__dna__addressof(bGPDlayer.__DNA__FIELD__color);
         CPointer<CArrayFacade<Float>> p_color = p.cast(new Class[]{CArrayFacade.class, Float.class});
         

        Metadata

        • Field: 'color'
        • Signature: 'float[4]'
        • Actual Size (32bit/64bit): 16/16
      • __DNA__FIELD__fill

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

        Field Documentation

        Blender Source Code

        Fill color for strokes in layers. Not used anymore (was only for).

        Pointer Arithmetics

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

         bGPDlayer bgpdlayer = ...;
         CPointer<Object> p = bgpdlayer.__dna__addressof(bGPDlayer.__DNA__FIELD__fill);
         CPointer<CArrayFacade<Float>> p_fill = p.cast(new Class[]{CArrayFacade.class, Float.class});
         

        Metadata

        • Field: 'fill'
        • Signature: 'float[4]'
        • Actual Size (32bit/64bit): 16/16
      • __DNA__FIELD__info

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

        Field Documentation

        Blender Source Code

        Name/reference info for this layer (i.e. "director's comments, 12/.3") needs to be kept unique, as it's used as the layer identifier

        Pointer Arithmetics

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

         bGPDlayer bgpdlayer = ...;
         CPointer<Object> p = bgpdlayer.__dna__addressof(bGPDlayer.__DNA__FIELD__info);
         CPointer<CArrayFacade<Byte>> p_info = p.cast(new Class[]{CArrayFacade.class, Byte.class});
         

        Metadata

        • Field: 'info'
        • Signature: 'char[128]'
        • Actual Size (32bit/64bit): 128/128
      • __DNA__FIELD__thickness

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

        Field Documentation

        Blender Source Code

        Thickness to apply to strokes (Annotations).

        Pointer Arithmetics

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

         bGPDlayer bgpdlayer = ...;
         CPointer<Object> p = bgpdlayer.__dna__addressof(bGPDlayer.__DNA__FIELD__thickness);
         CPointer<Short> p_thickness = p.cast(new Class[]{Short.class});
         

        Metadata

        • Field: 'thickness'
        • Signature: 'short'
        • Actual Size (32bit/64bit): 2/2
      • __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

        Used to filter groups of layers in modifiers.

        Pointer Arithmetics

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

         bGPDlayer bgpdlayer = ...;
         CPointer<Object> p = bgpdlayer.__dna__addressof(bGPDlayer.__DNA__FIELD__pass_index);
         CPointer<Short> p_pass_index = p.cast(new Class[]{Short.class});
         

        Metadata

        • Field: 'pass_index'
        • Signature: 'short'
        • Actual Size (32bit/64bit): 2/2
      • __DNA__FIELD__parent

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

        Field Documentation

        Blender Source Code

        Parent object.

        Pointer Arithmetics

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

         bGPDlayer bgpdlayer = ...;
         CPointer<Object> p = bgpdlayer.__dna__addressof(bGPDlayer.__DNA__FIELD__parent);
         CPointer<CPointer<BlenderObject>> p_parent = p.cast(new Class[]{CPointer.class, BlenderObject.class});
         

        Metadata

        • Field: 'parent'
        • Signature: 'Object*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__inverse

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

        Field Documentation

        Blender Source Code

        Inverse matrix (only used if parented).

        Pointer Arithmetics

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

         bGPDlayer bgpdlayer = ...;
         CPointer<Object> p = bgpdlayer.__dna__addressof(bGPDlayer.__DNA__FIELD__inverse);
         CPointer<CArrayFacade<CArrayFacade<Float>>> p_inverse = p.cast(new Class[]{CArrayFacade.class, CArrayFacade.class, Float.class});
         

        Metadata

        • Field: 'inverse'
        • Signature: 'float[4][4]'
        • Actual Size (32bit/64bit): 64/64
      • __DNA__FIELD__parsubstr

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

        Field Documentation

        Blender Source Code

        String describing subobject info, MAX_ID_NAME-2.

        Pointer Arithmetics

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

         bGPDlayer bgpdlayer = ...;
         CPointer<Object> p = bgpdlayer.__dna__addressof(bGPDlayer.__DNA__FIELD__parsubstr);
         CPointer<CArrayFacade<Byte>> p_parsubstr = p.cast(new Class[]{CArrayFacade.class, Byte.class});
         

        Metadata

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

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

        Pointer Arithmetics

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

         bGPDlayer bgpdlayer = ...;
         CPointer<Object> p = bgpdlayer.__dna__addressof(bGPDlayer.__DNA__FIELD__partype);
         CPointer<Short> p_partype = p.cast(new Class[]{Short.class});
         

        Metadata

        • Field: 'partype'
        • Signature: 'short'
        • Actual Size (32bit/64bit): 2/2
      • __DNA__FIELD__line_change

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

        Field Documentation

        Blender Source Code

        Thickness adjustment.

        Pointer Arithmetics

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

         bGPDlayer bgpdlayer = ...;
         CPointer<Object> p = bgpdlayer.__dna__addressof(bGPDlayer.__DNA__FIELD__line_change);
         CPointer<Short> p_line_change = p.cast(new Class[]{Short.class});
         

        Metadata

        • Field: 'line_change'
        • Signature: 'short'
        • Actual Size (32bit/64bit): 2/2
      • __DNA__FIELD__tintcolor

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

        Field Documentation

        Blender Source Code

        Color used to tint layer, alpha value is used as factor.

        Pointer Arithmetics

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

         bGPDlayer bgpdlayer = ...;
         CPointer<Object> p = bgpdlayer.__dna__addressof(bGPDlayer.__DNA__FIELD__tintcolor);
         CPointer<CArrayFacade<Float>> p_tintcolor = p.cast(new Class[]{CArrayFacade.class, Float.class});
         

        Metadata

        • Field: 'tintcolor'
        • Signature: 'float[4]'
        • Actual Size (32bit/64bit): 16/16
      • __DNA__FIELD__opacity

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

        Field Documentation

        Blender Source Code

        Opacity of the layer.

        Pointer Arithmetics

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

         bGPDlayer bgpdlayer = ...;
         CPointer<Object> p = bgpdlayer.__dna__addressof(bGPDlayer.__DNA__FIELD__opacity);
         CPointer<Float> p_opacity = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'opacity'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__viewlayername

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

        Field Documentation

        Blender Source Code

        Name of the layer used to filter render output.

        Pointer Arithmetics

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

         bGPDlayer bgpdlayer = ...;
         CPointer<Object> p = bgpdlayer.__dna__addressof(bGPDlayer.__DNA__FIELD__viewlayername);
         CPointer<CArrayFacade<Byte>> p_viewlayername = p.cast(new Class[]{CArrayFacade.class, Byte.class});
         

        Metadata

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

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

        Field Documentation

        Blender Source Code

        Blend modes.

        Pointer Arithmetics

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

         bGPDlayer bgpdlayer = ...;
         CPointer<Object> p = bgpdlayer.__dna__addressof(bGPDlayer.__DNA__FIELD__blend_mode);
         CPointer<Integer> p_blend_mode = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'blend_mode'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__vertex_paint_opacity

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

        Field Documentation

        Blender Source Code

        Vertex Paint opacity by Layer.

        Pointer Arithmetics

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

         bGPDlayer bgpdlayer = ...;
         CPointer<Object> p = bgpdlayer.__dna__addressof(bGPDlayer.__DNA__FIELD__vertex_paint_opacity);
         CPointer<Float> p_vertex_paint_opacity = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'vertex_paint_opacity'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__gstep

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

        Field Documentation

        Blender Source Code

        annotation onion skin Ghosts Before: max number of ghost frames to show between active frame and the one before it (0 = only the ghost itself).

        Pointer Arithmetics

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

         bGPDlayer bgpdlayer = ...;
         CPointer<Object> p = bgpdlayer.__dna__addressof(bGPDlayer.__DNA__FIELD__gstep);
         CPointer<Short> p_gstep = p.cast(new Class[]{Short.class});
         

        Metadata

        • Field: 'gstep'
        • Signature: 'short'
        • Actual Size (32bit/64bit): 2/2
      • __DNA__FIELD__gstep_next

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

        Field Documentation

        Blender Source Code

        Ghosts After: max number of ghost frames to show after active frame and the following it (0 = only the ghost itself).

        Pointer Arithmetics

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

         bGPDlayer bgpdlayer = ...;
         CPointer<Object> p = bgpdlayer.__dna__addressof(bGPDlayer.__DNA__FIELD__gstep_next);
         CPointer<Short> p_gstep_next = p.cast(new Class[]{Short.class});
         

        Metadata

        • Field: 'gstep_next'
        • Signature: 'short'
        • Actual Size (32bit/64bit): 2/2
      • __DNA__FIELD__gcolor_prev

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

        Field Documentation

        Blender Source Code

        Color for ghosts before the active frame.

        Pointer Arithmetics

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

         bGPDlayer bgpdlayer = ...;
         CPointer<Object> p = bgpdlayer.__dna__addressof(bGPDlayer.__DNA__FIELD__gcolor_prev);
         CPointer<CArrayFacade<Float>> p_gcolor_prev = p.cast(new Class[]{CArrayFacade.class, Float.class});
         

        Metadata

        • Field: 'gcolor_prev'
        • Signature: 'float[3]'
        • Actual Size (32bit/64bit): 12/12
      • __DNA__FIELD__gcolor_next

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

        Field Documentation

        Blender Source Code

        Color for ghosts after the active frame.

        Pointer Arithmetics

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

         bGPDlayer bgpdlayer = ...;
         CPointer<Object> p = bgpdlayer.__dna__addressof(bGPDlayer.__DNA__FIELD__gcolor_next);
         CPointer<CArrayFacade<Float>> p_gcolor_next = p.cast(new Class[]{CArrayFacade.class, Float.class});
         

        Metadata

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

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

        Metadata

        • Field: '_pad1'
        • Signature: 'char[4]'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__mask_layers

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

        Field Documentation

        Blender Source Code

        Mask list (bGPDlayer_Mask ).

        Pointer Arithmetics

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

         bGPDlayer bgpdlayer = ...;
         CPointer<Object> p = bgpdlayer.__dna__addressof(bGPDlayer.__DNA__FIELD__mask_layers);
         CPointer<ListBase> p_mask_layers = p.cast(new Class[]{ListBase.class});
         

        Metadata

        • Field: 'mask_layers'
        • Signature: 'ListBase'
        • Actual Size (32bit/64bit): 8/16
      • __DNA__FIELD__act_mask

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

        Field Documentation

        Blender Source Code

        Current Mask index (noted base 1).

        Pointer Arithmetics

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

         bGPDlayer bgpdlayer = ...;
         CPointer<Object> p = bgpdlayer.__dna__addressof(bGPDlayer.__DNA__FIELD__act_mask);
         CPointer<Integer> p_act_mask = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'act_mask'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD___pad2

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

        Pointer Arithmetics

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

         bGPDlayer bgpdlayer = ...;
         CPointer<Object> p = bgpdlayer.__dna__addressof(bGPDlayer.__DNA__FIELD___pad2);
         CPointer<CArrayFacade<Byte>> p__pad2 = p.cast(new Class[]{CArrayFacade.class, Byte.class});
         

        Metadata

        • Field: '_pad2'
        • Signature: 'char[4]'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__location

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

        Field Documentation

        Blender Source Code

        Layer transforms.

        Pointer Arithmetics

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

         bGPDlayer bgpdlayer = ...;
         CPointer<Object> p = bgpdlayer.__dna__addressof(bGPDlayer.__DNA__FIELD__location);
         CPointer<CArrayFacade<Float>> p_location = p.cast(new Class[]{CArrayFacade.class, Float.class});
         

        Metadata

        • Field: 'location'
        • Signature: 'float[3]'
        • Actual Size (32bit/64bit): 12/12
      • __DNA__FIELD__rotation

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

        Pointer Arithmetics

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

         bGPDlayer bgpdlayer = ...;
         CPointer<Object> p = bgpdlayer.__dna__addressof(bGPDlayer.__DNA__FIELD__rotation);
         CPointer<CArrayFacade<Float>> p_rotation = p.cast(new Class[]{CArrayFacade.class, Float.class});
         

        Metadata

        • Field: 'rotation'
        • Signature: 'float[3]'
        • Actual Size (32bit/64bit): 12/12
      • __DNA__FIELD__scale

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

        Pointer Arithmetics

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

         bGPDlayer bgpdlayer = ...;
         CPointer<Object> p = bgpdlayer.__dna__addressof(bGPDlayer.__DNA__FIELD__scale);
         CPointer<CArrayFacade<Float>> p_scale = p.cast(new Class[]{CArrayFacade.class, Float.class});
         

        Metadata

        • Field: 'scale'
        • Signature: 'float[3]'
        • Actual Size (32bit/64bit): 12/12
      • __DNA__FIELD__layer_mat

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

        Pointer Arithmetics

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

         bGPDlayer bgpdlayer = ...;
         CPointer<Object> p = bgpdlayer.__dna__addressof(bGPDlayer.__DNA__FIELD__layer_mat);
         CPointer<CArrayFacade<CArrayFacade<Float>>> p_layer_mat = p.cast(new Class[]{CArrayFacade.class, CArrayFacade.class, Float.class});
         

        Metadata

        • Field: 'layer_mat'
        • Signature: 'float[4][4]'
        • Actual Size (32bit/64bit): 64/64
      • __DNA__FIELD__layer_invmat

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

        Pointer Arithmetics

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

         bGPDlayer bgpdlayer = ...;
         CPointer<Object> p = bgpdlayer.__dna__addressof(bGPDlayer.__DNA__FIELD__layer_invmat);
         CPointer<CArrayFacade<CArrayFacade<Float>>> p_layer_invmat = p.cast(new Class[]{CArrayFacade.class, CArrayFacade.class, Float.class});
         

        Metadata

        • Field: 'layer_invmat'
        • Signature: 'float[4][4]'
        • Actual Size (32bit/64bit): 64/64
      • __DNA__FIELD___pad3

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

        Pointer Arithmetics

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

         bGPDlayer bgpdlayer = ...;
         CPointer<Object> p = bgpdlayer.__dna__addressof(bGPDlayer.__DNA__FIELD___pad3);
         CPointer<CArrayFacade<Byte>> p__pad3 = p.cast(new Class[]{CArrayFacade.class, Byte.class});
         

        Metadata

        • Field: '_pad3'
        • Signature: 'char[4]'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__runtime

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

        Field Documentation

        Blender Source Code

        NOTE: When adding new members, make sure to add them to BKE_gpencil_layer_copy_settings as well!

        Pointer Arithmetics

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

         bGPDlayer bgpdlayer = ...;
         CPointer<Object> p = bgpdlayer.__dna__addressof(bGPDlayer.__DNA__FIELD__runtime);
         CPointer<bGPDlayer_Runtime> p_runtime = p.cast(new Class[]{bGPDlayer_Runtime.class});
         

        Metadata

        • Field: 'runtime'
        • Signature: 'bGPDlayer_Runtime'
        • Actual Size (32bit/64bit): 12/16
    • Constructor Detail

      • bGPDlayer

        public bGPDlayer​(long __address,
                         Block __block,
                         BlockTable __blockTable)
      • bGPDlayer

        protected bGPDlayer​(bGPDlayer that)
    • Method Detail

      • setNext

        public void setNext​(CPointer<bGPDlayer> next)
                     throws java.io.IOException
        Set method for struct member 'next'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__next
      • setPrev

        public void setPrev​(CPointer<bGPDlayer> prev)
                     throws java.io.IOException
        Set method for struct member 'prev'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__prev
      • getFrames

        public ListBase getFrames()
                           throws java.io.IOException
        Get method for struct member 'frames'.

        Field Documentation

        Blender Source Code

        List of annotations to display for frames (bGPDframe list).

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__frames
      • setFrames

        public void setFrames​(ListBase frames)
                       throws java.io.IOException
        Set method for struct member 'frames'.

        Field Documentation

        Blender Source Code

        List of annotations to display for frames (bGPDframe list).

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__frames
      • getActframe

        public CPointer<bGPDframe> getActframe()
                                        throws java.io.IOException
        Get method for struct member 'actframe'.

        Field Documentation

        Blender Source Code

        Active frame (should be the frame that is currently being displayed).

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__actframe
      • setActframe

        public void setActframe​(CPointer<bGPDframe> actframe)
                         throws java.io.IOException
        Set method for struct member 'actframe'.

        Field Documentation

        Blender Source Code

        Active frame (should be the frame that is currently being displayed).

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__actframe
      • getFlag

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

        Field Documentation

        Blender Source Code

        Settings for layer.

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

        Field Documentation

        Blender Source Code

        Settings for layer.

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

        public short getOnion_flag()
                            throws java.io.IOException
        Get method for struct member 'onion_flag'.

        Field Documentation

        Blender Source Code

        Per-layer onion-skinning flags (eGPDlayer_OnionFlag).

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__onion_flag
      • setOnion_flag

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

        Field Documentation

        Blender Source Code

        Per-layer onion-skinning flags (eGPDlayer_OnionFlag).

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__onion_flag
      • getColor

        public CArrayFacade<java.lang.Float> getColor()
                                               throws java.io.IOException
        Get method for struct member 'color'.

        Field Documentation

        Blender Source Code

        Color for strokes in layers. Used for annotations, and for ruler (which uses GPencil internally).

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__color
      • setColor

        public void setColor​(CArrayFacade<java.lang.Float> color)
                      throws java.io.IOException
        Set method for struct member 'color'.

        Field Documentation

        Blender Source Code

        Color for strokes in layers. Used for annotations, and for ruler (which uses GPencil internally).

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__color
      • getFill

        public CArrayFacade<java.lang.Float> getFill()
                                              throws java.io.IOException
        Get method for struct member 'fill'.

        Field Documentation

        Blender Source Code

        Fill color for strokes in layers. Not used anymore (was only for).

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__fill
      • setFill

        public void setFill​(CArrayFacade<java.lang.Float> fill)
                     throws java.io.IOException
        Set method for struct member 'fill'.

        Field Documentation

        Blender Source Code

        Fill color for strokes in layers. Not used anymore (was only for).

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__fill
      • getInfo

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

        Field Documentation

        Blender Source Code

        Name/reference info for this layer (i.e. "director's comments, 12/.3") needs to be kept unique, as it's used as the layer identifier

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__info
      • setInfo

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

        Field Documentation

        Blender Source Code

        Name/reference info for this layer (i.e. "director's comments, 12/.3") needs to be kept unique, as it's used as the layer identifier

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__info
      • getThickness

        public short getThickness()
                           throws java.io.IOException
        Get method for struct member 'thickness'.

        Field Documentation

        Blender Source Code

        Thickness to apply to strokes (Annotations).

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__thickness
      • setThickness

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

        Field Documentation

        Blender Source Code

        Thickness to apply to strokes (Annotations).

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

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

        Field Documentation

        Blender Source Code

        Used to filter groups of layers in modifiers.

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

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

        Field Documentation

        Blender Source Code

        Used to filter groups of layers in modifiers.

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

        public CPointer<BlenderObject> getParent()
                                          throws java.io.IOException
        Get method for struct member 'parent'.

        Field Documentation

        Blender Source Code

        Parent object.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__parent
      • setParent

        public void setParent​(CPointer<BlenderObject> parent)
                       throws java.io.IOException
        Set method for struct member 'parent'.

        Field Documentation

        Blender Source Code

        Parent object.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__parent
      • getInverse

        public CArrayFacade<CArrayFacade<java.lang.Float>> getInverse()
                                                               throws java.io.IOException
        Get method for struct member 'inverse'.

        Field Documentation

        Blender Source Code

        Inverse matrix (only used if parented).

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__inverse
      • setInverse

        public void setInverse​(CArrayFacade<CArrayFacade<java.lang.Float>> inverse)
                        throws java.io.IOException
        Set method for struct member 'inverse'.

        Field Documentation

        Blender Source Code

        Inverse matrix (only used if parented).

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__inverse
      • getParsubstr

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

        Field Documentation

        Blender Source Code

        String describing subobject info, MAX_ID_NAME-2.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__parsubstr
      • setParsubstr

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

        Field Documentation

        Blender Source Code

        String describing subobject info, MAX_ID_NAME-2.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__parsubstr
      • getPartype

        public short getPartype()
                         throws java.io.IOException
        Get method for struct member 'partype'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__partype
      • setPartype

        public void setPartype​(short partype)
                        throws java.io.IOException
        Set method for struct member 'partype'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__partype
      • getLine_change

        public short getLine_change()
                             throws java.io.IOException
        Get method for struct member 'line_change'.

        Field Documentation

        Blender Source Code

        Thickness adjustment.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__line_change
      • setLine_change

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

        Field Documentation

        Blender Source Code

        Thickness adjustment.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__line_change
      • getTintcolor

        public CArrayFacade<java.lang.Float> getTintcolor()
                                                   throws java.io.IOException
        Get method for struct member 'tintcolor'.

        Field Documentation

        Blender Source Code

        Color used to tint layer, alpha value is used as factor.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__tintcolor
      • setTintcolor

        public void setTintcolor​(CArrayFacade<java.lang.Float> tintcolor)
                          throws java.io.IOException
        Set method for struct member 'tintcolor'.

        Field Documentation

        Blender Source Code

        Color used to tint layer, alpha value is used as factor.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__tintcolor
      • getOpacity

        public float getOpacity()
                         throws java.io.IOException
        Get method for struct member 'opacity'.

        Field Documentation

        Blender Source Code

        Opacity of the layer.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__opacity
      • setOpacity

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

        Field Documentation

        Blender Source Code

        Opacity of the layer.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__opacity
      • getViewlayername

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

        Field Documentation

        Blender Source Code

        Name of the layer used to filter render output.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__viewlayername
      • setViewlayername

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

        Field Documentation

        Blender Source Code

        Name of the layer used to filter render output.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__viewlayername
      • getBlend_mode

        public int getBlend_mode()
                          throws java.io.IOException
        Get method for struct member 'blend_mode'.

        Field Documentation

        Blender Source Code

        Blend modes.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__blend_mode
      • setBlend_mode

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

        Field Documentation

        Blender Source Code

        Blend modes.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__blend_mode
      • getVertex_paint_opacity

        public float getVertex_paint_opacity()
                                      throws java.io.IOException
        Get method for struct member 'vertex_paint_opacity'.

        Field Documentation

        Blender Source Code

        Vertex Paint opacity by Layer.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__vertex_paint_opacity
      • setVertex_paint_opacity

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

        Field Documentation

        Blender Source Code

        Vertex Paint opacity by Layer.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__vertex_paint_opacity
      • getGstep

        public short getGstep()
                       throws java.io.IOException
        Get method for struct member 'gstep'.

        Field Documentation

        Blender Source Code

        annotation onion skin Ghosts Before: max number of ghost frames to show between active frame and the one before it (0 = only the ghost itself).

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__gstep
      • setGstep

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

        Field Documentation

        Blender Source Code

        annotation onion skin Ghosts Before: max number of ghost frames to show between active frame and the one before it (0 = only the ghost itself).

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__gstep
      • getGstep_next

        public short getGstep_next()
                            throws java.io.IOException
        Get method for struct member 'gstep_next'.

        Field Documentation

        Blender Source Code

        Ghosts After: max number of ghost frames to show after active frame and the following it (0 = only the ghost itself).

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__gstep_next
      • setGstep_next

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

        Field Documentation

        Blender Source Code

        Ghosts After: max number of ghost frames to show after active frame and the following it (0 = only the ghost itself).

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__gstep_next
      • getGcolor_prev

        public CArrayFacade<java.lang.Float> getGcolor_prev()
                                                     throws java.io.IOException
        Get method for struct member 'gcolor_prev'.

        Field Documentation

        Blender Source Code

        Color for ghosts before the active frame.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__gcolor_prev
      • setGcolor_prev

        public void setGcolor_prev​(CArrayFacade<java.lang.Float> gcolor_prev)
                            throws java.io.IOException
        Set method for struct member 'gcolor_prev'.

        Field Documentation

        Blender Source Code

        Color for ghosts before the active frame.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__gcolor_prev
      • getGcolor_next

        public CArrayFacade<java.lang.Float> getGcolor_next()
                                                     throws java.io.IOException
        Get method for struct member 'gcolor_next'.

        Field Documentation

        Blender Source Code

        Color for ghosts after the active frame.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__gcolor_next
      • setGcolor_next

        public void setGcolor_next​(CArrayFacade<java.lang.Float> gcolor_next)
                            throws java.io.IOException
        Set method for struct member 'gcolor_next'.

        Field Documentation

        Blender Source Code

        Color for ghosts after the active frame.

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

        public ListBase getMask_layers()
                                throws java.io.IOException
        Get method for struct member 'mask_layers'.

        Field Documentation

        Blender Source Code

        Mask list (bGPDlayer_Mask ).

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__mask_layers
      • setMask_layers

        public void setMask_layers​(ListBase mask_layers)
                            throws java.io.IOException
        Set method for struct member 'mask_layers'.

        Field Documentation

        Blender Source Code

        Mask list (bGPDlayer_Mask ).

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__mask_layers
      • getAct_mask

        public int getAct_mask()
                        throws java.io.IOException
        Get method for struct member 'act_mask'.

        Field Documentation

        Blender Source Code

        Current Mask index (noted base 1).

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__act_mask
      • setAct_mask

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

        Field Documentation

        Blender Source Code

        Current Mask index (noted base 1).

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__act_mask
      • get_pad2

        public CArrayFacade<java.lang.Byte> get_pad2()
                                              throws java.io.IOException
        Get method for struct member '_pad2'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD___pad2
      • set_pad2

        public void set_pad2​(CArrayFacade<java.lang.Byte> _pad2)
                      throws java.io.IOException
        Set method for struct member '_pad2'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD___pad2
      • getLocation

        public CArrayFacade<java.lang.Float> getLocation()
                                                  throws java.io.IOException
        Get method for struct member 'location'.

        Field Documentation

        Blender Source Code

        Layer transforms.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__location
      • setLocation

        public void setLocation​(CArrayFacade<java.lang.Float> location)
                         throws java.io.IOException
        Set method for struct member 'location'.

        Field Documentation

        Blender Source Code

        Layer transforms.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__location
      • getRotation

        public CArrayFacade<java.lang.Float> getRotation()
                                                  throws java.io.IOException
        Get method for struct member 'rotation'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__rotation
      • setRotation

        public void setRotation​(CArrayFacade<java.lang.Float> rotation)
                         throws java.io.IOException
        Set method for struct member 'rotation'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__rotation
      • getScale

        public CArrayFacade<java.lang.Float> getScale()
                                               throws java.io.IOException
        Get method for struct member 'scale'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__scale
      • setScale

        public void setScale​(CArrayFacade<java.lang.Float> scale)
                      throws java.io.IOException
        Set method for struct member 'scale'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__scale
      • get_pad3

        public CArrayFacade<java.lang.Byte> get_pad3()
                                              throws java.io.IOException
        Get method for struct member '_pad3'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD___pad3
      • set_pad3

        public void set_pad3​(CArrayFacade<java.lang.Byte> _pad3)
                      throws java.io.IOException
        Set method for struct member '_pad3'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD___pad3
      • getRuntime

        public bGPDlayer_Runtime getRuntime()
                                     throws java.io.IOException
        Get method for struct member 'runtime'.

        Field Documentation

        Blender Source Code

        NOTE: When adding new members, make sure to add them to BKE_gpencil_layer_copy_settings as well!

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__runtime
      • setRuntime

        public void setRuntime​(bGPDlayer_Runtime runtime)
                        throws java.io.IOException
        Set method for struct member 'runtime'.

        Field Documentation

        Blender Source Code

        NOTE: When adding new members, make sure to add them to BKE_gpencil_layer_copy_settings as well!

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__runtime
      • __io__addressof

        public CPointer<bGPDlayer> __io__addressof()
        Instantiates a pointer on this instance.