Class MaskLayer


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

    Class Documentation

    • Field Detail

      • __DNA__SDNA_INDEX

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

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

        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:

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

        Metadata

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

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

        Metadata

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

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

        Field Documentation

        Blender Python API

        Unique name of layer

        Blender Source Code

        Name of the mask layer (64 = MAD_ID_NAME - 2).

        Pointer Arithmetics

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

         MaskLayer masklayer = ...;
         CPointer<Object> p = masklayer.__dna__addressof(MaskLayer.__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__splines

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

        Field Documentation

        Blender Python API

        (read-only) Collection of splines which defines this layer

        Blender Source Code

        List of splines which defines this mask layer.

        Pointer Arithmetics

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

         MaskLayer masklayer = ...;
         CPointer<Object> p = masklayer.__dna__addressof(MaskLayer.__DNA__FIELD__splines);
         CPointer<ListBase> p_splines = p.cast(new Class[]{ListBase.class});
         

        Metadata

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

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

        Pointer Arithmetics

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

         MaskLayer masklayer = ...;
         CPointer<Object> p = masklayer.__dna__addressof(MaskLayer.__DNA__FIELD__splines_shapes);
         CPointer<ListBase> p_splines_shapes = p.cast(new Class[]{ListBase.class});
         

        Metadata

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

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

        Field Documentation

        Blender Source Code

        Active spline.

        Pointer Arithmetics

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

         MaskLayer masklayer = ...;
         CPointer<Object> p = masklayer.__dna__addressof(MaskLayer.__DNA__FIELD__act_spline);
         CPointer<CPointer<MaskSpline>> p_act_spline = p.cast(new Class[]{CPointer.class, MaskSpline.class});
         

        Metadata

        • Field: 'act_spline'
        • Signature: 'MaskSpline*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__act_point

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

        Field Documentation

        Blender Source Code

        Active point.

        Pointer Arithmetics

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

         MaskLayer masklayer = ...;
         CPointer<Object> p = masklayer.__dna__addressof(MaskLayer.__DNA__FIELD__act_point);
         CPointer<CPointer<MaskSplinePoint>> p_act_point = p.cast(new Class[]{CPointer.class, MaskSplinePoint.class});
         

        Metadata

        • Field: 'act_point'
        • Signature: 'MaskSplinePoint*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__alpha

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

        Field Documentation

        Blender Python API

        Render Opacity

        Blender Source Code

        blending options

        Pointer Arithmetics

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

         MaskLayer masklayer = ...;
         CPointer<Object> p = masklayer.__dna__addressof(MaskLayer.__DNA__FIELD__alpha);
         CPointer<Float> p_alpha = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'alpha'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__blend

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

        Field Documentation

        Blender Python API

        Method of blending mask layers

        Pointer Arithmetics

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

         MaskLayer masklayer = ...;
         CPointer<Object> p = masklayer.__dna__addressof(MaskLayer.__DNA__FIELD__blend);
         CPointer<Byte> p_blend = p.cast(new Class[]{Byte.class});
         

        Metadata

        • Field: 'blend'
        • Signature: 'char'
        • Actual Size (32bit/64bit): 1/1
      • __DNA__FIELD__blend_flag

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

        Pointer Arithmetics

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

         MaskLayer masklayer = ...;
         CPointer<Object> p = masklayer.__dna__addressof(MaskLayer.__DNA__FIELD__blend_flag);
         CPointer<Byte> p_blend_flag = p.cast(new Class[]{Byte.class});
         

        Metadata

        • Field: 'blend_flag'
        • Signature: 'char'
        • Actual Size (32bit/64bit): 1/1
      • __DNA__FIELD__falloff

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

        Field Documentation

        Blender Python API

        Falloff type the feather

        Pointer Arithmetics

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

         MaskLayer masklayer = ...;
         CPointer<Object> p = masklayer.__dna__addressof(MaskLayer.__DNA__FIELD__falloff);
         CPointer<Byte> p_falloff = p.cast(new Class[]{Byte.class});
         

        Metadata

        • Field: 'falloff'
        • Signature: 'char'
        • Actual Size (32bit/64bit): 1/1
      • __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:

         MaskLayer masklayer = ...;
         CPointer<Object> p = masklayer.__dna__addressof(MaskLayer.__DNA__FIELD___pad);
         CPointer<CArrayFacade<Byte>> p__pad = p.cast(new Class[]{CArrayFacade.class, Byte.class});
         

        Metadata

        • Field: '_pad'
        • Signature: 'char[7]'
        • Actual Size (32bit/64bit): 7/7
      • __DNA__FIELD__flag

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

        Field Documentation

        Blender Source Code

        For animation.

        Pointer Arithmetics

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

         MaskLayer masklayer = ...;
         CPointer<Object> p = masklayer.__dna__addressof(MaskLayer.__DNA__FIELD__flag);
         CPointer<Byte> p_flag = p.cast(new Class[]{Byte.class});
         

        Metadata

        • Field: 'flag'
        • Signature: 'char'
        • Actual Size (32bit/64bit): 1/1
      • __DNA__FIELD__restrictflag

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

        Field Documentation

        Blender Source Code

        Matching 'Object ' flag of the same name - eventually use in the outliner .

        Pointer Arithmetics

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

         MaskLayer masklayer = ...;
         CPointer<Object> p = masklayer.__dna__addressof(MaskLayer.__DNA__FIELD__restrictflag);
         CPointer<Byte> p_restrictflag = p.cast(new Class[]{Byte.class});
         

        Metadata

        • Field: 'restrictflag'
        • Signature: 'char'
        • Actual Size (32bit/64bit): 1/1
    • Constructor Detail

      • MaskLayer

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

        protected MaskLayer​(MaskLayer that)
    • Method Detail

      • setNext

        public void setNext​(CPointer<MaskLayer> 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<MaskLayer> prev)
                     throws java.io.IOException
        Set method for struct member 'prev'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__prev
      • getName

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

        Field Documentation

        Blender Python API

        Unique name of layer

        Blender Source Code

        Name of the mask layer (64 = MAD_ID_NAME - 2).

        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 Python API

        Unique name of layer

        Blender Source Code

        Name of the mask layer (64 = MAD_ID_NAME - 2).

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

        public ListBase getSplines()
                            throws java.io.IOException
        Get method for struct member 'splines'.

        Field Documentation

        Blender Python API

        (read-only) Collection of splines which defines this layer

        Blender Source Code

        List of splines which defines this mask layer.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__splines
      • setSplines

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

        Field Documentation

        Blender Python API

        (read-only) Collection of splines which defines this layer

        Blender Source Code

        List of splines which defines this mask layer.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__splines
      • getSplines_shapes

        public ListBase getSplines_shapes()
                                   throws java.io.IOException
        Get method for struct member 'splines_shapes'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__splines_shapes
      • setSplines_shapes

        public void setSplines_shapes​(ListBase splines_shapes)
                               throws java.io.IOException
        Set method for struct member 'splines_shapes'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__splines_shapes
      • getAct_spline

        public CPointer<MaskSpline> getAct_spline()
                                           throws java.io.IOException
        Get method for struct member 'act_spline'.

        Field Documentation

        Blender Source Code

        Active spline.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__act_spline
      • setAct_spline

        public void setAct_spline​(CPointer<MaskSpline> act_spline)
                           throws java.io.IOException
        Set method for struct member 'act_spline'.

        Field Documentation

        Blender Source Code

        Active spline.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__act_spline
      • getAct_point

        public CPointer<MaskSplinePoint> getAct_point()
                                               throws java.io.IOException
        Get method for struct member 'act_point'.

        Field Documentation

        Blender Source Code

        Active point.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__act_point
      • setAct_point

        public void setAct_point​(CPointer<MaskSplinePoint> act_point)
                          throws java.io.IOException
        Set method for struct member 'act_point'.

        Field Documentation

        Blender Source Code

        Active point.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__act_point
      • getAlpha

        public float getAlpha()
                       throws java.io.IOException
        Get method for struct member 'alpha'.

        Field Documentation

        Blender Python API

        Render Opacity

        Blender Source Code

        blending options

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__alpha
      • setAlpha

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

        Field Documentation

        Blender Python API

        Render Opacity

        Blender Source Code

        blending options

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__alpha
      • getBlend

        public byte getBlend()
                      throws java.io.IOException
        Get method for struct member 'blend'.

        Field Documentation

        Blender Python API

        Method of blending mask layers
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__blend
      • setBlend

        public void setBlend​(byte blend)
                      throws java.io.IOException
        Set method for struct member 'blend'.

        Field Documentation

        Blender Python API

        Method of blending mask layers
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__blend
      • getBlend_flag

        public byte getBlend_flag()
                           throws java.io.IOException
        Get method for struct member 'blend_flag'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__blend_flag
      • setBlend_flag

        public void setBlend_flag​(byte blend_flag)
                           throws java.io.IOException
        Set method for struct member 'blend_flag'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__blend_flag
      • getFalloff

        public byte getFalloff()
                        throws java.io.IOException
        Get method for struct member 'falloff'.

        Field Documentation

        Blender Python API

        Falloff type the feather
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__falloff
      • setFalloff

        public void setFalloff​(byte falloff)
                        throws java.io.IOException
        Set method for struct member 'falloff'.

        Field Documentation

        Blender Python API

        Falloff type the feather
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__falloff
      • 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
      • getFlag

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

        Field Documentation

        Blender Source Code

        For animation.

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

        public void setFlag​(byte flag)
                     throws java.io.IOException
        Set method for struct member 'flag'.

        Field Documentation

        Blender Source Code

        For animation.

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

        public byte getRestrictflag()
                             throws java.io.IOException
        Get method for struct member 'restrictflag'.

        Field Documentation

        Blender Source Code

        Matching 'Object ' flag of the same name - eventually use in the outliner .

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__restrictflag
      • setRestrictflag

        public void setRestrictflag​(byte restrictflag)
                             throws java.io.IOException
        Set method for struct member 'restrictflag'.

        Field Documentation

        Blender Source Code

        Matching 'Object ' flag of the same name - eventually use in the outliner .

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

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