Class DashGpencilModifierSegment


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

    Class Documentation

    • Field Detail

      • __DNA__SDNA_INDEX

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

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

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

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

        Field Documentation

        Blender Python API

        Name of the dash segment

        Pointer Arithmetics

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

         DashGpencilModifierSegment dashgpencilmodifiersegment = ...;
         CPointer<Object> p = dashgpencilmodifiersegment.__dna__addressof(DashGpencilModifierSegment.__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__dmd

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

        Field Documentation

        Blender Source Code

        For path reference.

        Pointer Arithmetics

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

         DashGpencilModifierSegment dashgpencilmodifiersegment = ...;
         CPointer<Object> p = dashgpencilmodifiersegment.__dna__addressof(DashGpencilModifierSegment.__DNA__FIELD__dmd);
         CPointer<CPointer<DashGpencilModifierData>> p_dmd = p.cast(new Class[]{CPointer.class, DashGpencilModifierData.class});
         

        Metadata

        • Field: 'dmd'
        • Signature: 'DashGpencilModifierData*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__dash

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

        Field Documentation

        Blender Python API

        The number of consecutive points from the original stroke to include in this segment

        Pointer Arithmetics

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

         DashGpencilModifierSegment dashgpencilmodifiersegment = ...;
         CPointer<Object> p = dashgpencilmodifiersegment.__dna__addressof(DashGpencilModifierSegment.__DNA__FIELD__dash);
         CPointer<Integer> p_dash = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'dash'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__gap

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

        Field Documentation

        Blender Python API

        The number of points skipped after this segment

        Pointer Arithmetics

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

         DashGpencilModifierSegment dashgpencilmodifiersegment = ...;
         CPointer<Object> p = dashgpencilmodifiersegment.__dna__addressof(DashGpencilModifierSegment.__DNA__FIELD__gap);
         CPointer<Integer> p_gap = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'gap'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__radius

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

        Field Documentation

        Blender Python API

        The factor to apply to the original point's radius for the new points

        Pointer Arithmetics

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

         DashGpencilModifierSegment dashgpencilmodifiersegment = ...;
         CPointer<Object> p = dashgpencilmodifiersegment.__dna__addressof(DashGpencilModifierSegment.__DNA__FIELD__radius);
         CPointer<Float> p_radius = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'radius'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__opacity

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

        Field Documentation

        Blender Python API

        The factor to apply to the original point's opacity for the new points

        Pointer Arithmetics

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

         DashGpencilModifierSegment dashgpencilmodifiersegment = ...;
         CPointer<Object> p = dashgpencilmodifiersegment.__dna__addressof(DashGpencilModifierSegment.__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__mat_nr

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

        Pointer Arithmetics

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

         DashGpencilModifierSegment dashgpencilmodifiersegment = ...;
         CPointer<Object> p = dashgpencilmodifiersegment.__dna__addressof(DashGpencilModifierSegment.__DNA__FIELD__mat_nr);
         CPointer<Integer> p_mat_nr = p.cast(new Class[]{Integer.class});
         

        Metadata

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

         DashGpencilModifierSegment dashgpencilmodifiersegment = ...;
         CPointer<Object> p = dashgpencilmodifiersegment.__dna__addressof(DashGpencilModifierSegment.__DNA__FIELD__flag);
         CPointer<Integer> p_flag = p.cast(new Class[]{Integer.class});
         

        Metadata

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

      • DashGpencilModifierSegment

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

      • getName

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

        Field Documentation

        Blender Python API

        Name of the dash segment
        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

        Name of the dash segment
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__name
      • setDmd

        public void setDmd​(CPointer<DashGpencilModifierData> dmd)
                    throws java.io.IOException
        Set method for struct member 'dmd'.

        Field Documentation

        Blender Source Code

        For path reference.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__dmd
      • getDash

        public int getDash()
                    throws java.io.IOException
        Get method for struct member 'dash'.

        Field Documentation

        Blender Python API

        The number of consecutive points from the original stroke to include in this segment
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__dash
      • setDash

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

        Field Documentation

        Blender Python API

        The number of consecutive points from the original stroke to include in this segment
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__dash
      • getGap

        public int getGap()
                   throws java.io.IOException
        Get method for struct member 'gap'.

        Field Documentation

        Blender Python API

        The number of points skipped after this segment
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__gap
      • setGap

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

        Field Documentation

        Blender Python API

        The number of points skipped after this segment
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__gap
      • getRadius

        public float getRadius()
                        throws java.io.IOException
        Get method for struct member 'radius'.

        Field Documentation

        Blender Python API

        The factor to apply to the original point's radius for the new points
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__radius
      • setRadius

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

        Field Documentation

        Blender Python API

        The factor to apply to the original point's radius for the new points
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__radius
      • getOpacity

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

        Field Documentation

        Blender Python API

        The factor to apply to the original point's opacity for the new points
        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 Python API

        The factor to apply to the original point's opacity for the new points
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__opacity
      • getMat_nr

        public int getMat_nr()
                      throws java.io.IOException
        Get method for struct member 'mat_nr'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__mat_nr
      • setMat_nr

        public void setMat_nr​(int mat_nr)
                       throws java.io.IOException
        Set method for struct member 'mat_nr'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__mat_nr
      • getFlag

        public int getFlag()
                    throws java.io.IOException
        Get method for struct member 'flag'.
        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'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__flag