Class BuildGpencilModifierData


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

    Class Documentation

    • Field Detail

      • __DNA__SDNA_INDEX

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

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

        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:

         BuildGpencilModifierData buildgpencilmodifierdata = ...;
         CPointer<Object> p = buildgpencilmodifierdata.__dna__addressof(BuildGpencilModifierData.__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__layername

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

        Field Documentation

        Blender Source Code

        If set, restrict modifier to operating on this layer.

        Pointer Arithmetics

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

         BuildGpencilModifierData buildgpencilmodifierdata = ...;
         CPointer<Object> p = buildgpencilmodifierdata.__dna__addressof(BuildGpencilModifierData.__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__pass_index

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

        Pointer Arithmetics

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

         BuildGpencilModifierData buildgpencilmodifierdata = ...;
         CPointer<Object> p = buildgpencilmodifierdata.__dna__addressof(BuildGpencilModifierData.__DNA__FIELD__pass_index);
         CPointer<Integer> p_pass_index = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'pass_index'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__materialname

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

        Field Documentation

        Blender Source Code

        Material name.

        Pointer Arithmetics

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

         BuildGpencilModifierData buildgpencilmodifierdata = ...;
         CPointer<Object> p = buildgpencilmodifierdata.__dna__addressof(BuildGpencilModifierData.__DNA__FIELD__materialname);
         CPointer<CArrayFacade<Byte>> p_materialname = p.cast(new Class[]{CArrayFacade.class, Byte.class});
         

        Metadata

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

         BuildGpencilModifierData buildgpencilmodifierdata = ...;
         CPointer<Object> p = buildgpencilmodifierdata.__dna__addressof(BuildGpencilModifierData.__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__start_frame

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

        Field Documentation

        Blender Source Code

        If GP_BUILD_RESTRICT_TIME is set, the defines the frame range where GP frames are considered.

        Pointer Arithmetics

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

         BuildGpencilModifierData buildgpencilmodifierdata = ...;
         CPointer<Object> p = buildgpencilmodifierdata.__dna__addressof(BuildGpencilModifierData.__DNA__FIELD__start_frame);
         CPointer<Float> p_start_frame = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'start_frame'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__end_frame

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

        Pointer Arithmetics

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

         BuildGpencilModifierData buildgpencilmodifierdata = ...;
         CPointer<Object> p = buildgpencilmodifierdata.__dna__addressof(BuildGpencilModifierData.__DNA__FIELD__end_frame);
         CPointer<Float> p_end_frame = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'end_frame'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__start_delay

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

        Field Documentation

        Blender Source Code

        For each pair of gp keys, number of frames before strokes start appearing.

        Pointer Arithmetics

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

         BuildGpencilModifierData buildgpencilmodifierdata = ...;
         CPointer<Object> p = buildgpencilmodifierdata.__dna__addressof(BuildGpencilModifierData.__DNA__FIELD__start_delay);
         CPointer<Float> p_start_delay = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'start_delay'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__length

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

        Field Documentation

        Blender Source Code

        For each pair of gp keys, number of frames that build effect must be completed within.

        Pointer Arithmetics

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

         BuildGpencilModifierData buildgpencilmodifierdata = ...;
         CPointer<Object> p = buildgpencilmodifierdata.__dna__addressof(BuildGpencilModifierData.__DNA__FIELD__length);
         CPointer<Float> p_length = p.cast(new Class[]{Float.class});
         

        Metadata

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

        (eGpencilBuild_Flag) Options for controlling modifier behavior.

        Pointer Arithmetics

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

         BuildGpencilModifierData buildgpencilmodifierdata = ...;
         CPointer<Object> p = buildgpencilmodifierdata.__dna__addressof(BuildGpencilModifierData.__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__mode

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

        Field Documentation

        Blender Source Code

        (eGpencilBuild_Mode) How are strokes ordered.

        Pointer Arithmetics

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

         BuildGpencilModifierData buildgpencilmodifierdata = ...;
         CPointer<Object> p = buildgpencilmodifierdata.__dna__addressof(BuildGpencilModifierData.__DNA__FIELD__mode);
         CPointer<Short> p_mode = p.cast(new Class[]{Short.class});
         

        Metadata

        • Field: 'mode'
        • Signature: 'short'
        • Actual Size (32bit/64bit): 2/2
      • __DNA__FIELD__transition

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

        Field Documentation

        Blender Source Code

        (eGpencilBuild_Transition) In what order do stroke points appear/disappear.

        Pointer Arithmetics

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

         BuildGpencilModifierData buildgpencilmodifierdata = ...;
         CPointer<Object> p = buildgpencilmodifierdata.__dna__addressof(BuildGpencilModifierData.__DNA__FIELD__transition);
         CPointer<Short> p_transition = p.cast(new Class[]{Short.class});
         

        Metadata

        • Field: 'transition'
        • Signature: 'short'
        • Actual Size (32bit/64bit): 2/2
      • __DNA__FIELD__time_alignment

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

        Field Documentation

        Blender Source Code

        (eGpencilBuild_TimeAlignment) For the "Concurrent" mode, when should "shorter" strips start/end.

        Pointer Arithmetics

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

         BuildGpencilModifierData buildgpencilmodifierdata = ...;
         CPointer<Object> p = buildgpencilmodifierdata.__dna__addressof(BuildGpencilModifierData.__DNA__FIELD__time_alignment);
         CPointer<Short> p_time_alignment = p.cast(new Class[]{Short.class});
         

        Metadata

        • Field: 'time_alignment'
        • Signature: 'short'
        • Actual Size (32bit/64bit): 2/2
    • Constructor Detail

      • BuildGpencilModifierData

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

      • getLayername

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

        Field Documentation

        Blender Source Code

        If set, restrict modifier to operating on this layer.

        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

        If set, restrict modifier to operating on this layer.

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

        public int getPass_index()
                          throws java.io.IOException
        Get method for struct member 'pass_index'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__pass_index
      • setPass_index

        public void setPass_index​(int pass_index)
                           throws java.io.IOException
        Set method for struct member 'pass_index'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__pass_index
      • getMaterialname

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

        Field Documentation

        Blender Source Code

        Material name.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__materialname
      • setMaterialname

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

        Field Documentation

        Blender Source Code

        Material name.

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

        public float getStart_frame()
                             throws java.io.IOException
        Get method for struct member 'start_frame'.

        Field Documentation

        Blender Source Code

        If GP_BUILD_RESTRICT_TIME is set, the defines the frame range where GP frames are considered.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__start_frame
      • setStart_frame

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

        Field Documentation

        Blender Source Code

        If GP_BUILD_RESTRICT_TIME is set, the defines the frame range where GP frames are considered.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__start_frame
      • getEnd_frame

        public float getEnd_frame()
                           throws java.io.IOException
        Get method for struct member 'end_frame'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__end_frame
      • setEnd_frame

        public void setEnd_frame​(float end_frame)
                          throws java.io.IOException
        Set method for struct member 'end_frame'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__end_frame
      • getStart_delay

        public float getStart_delay()
                             throws java.io.IOException
        Get method for struct member 'start_delay'.

        Field Documentation

        Blender Source Code

        For each pair of gp keys, number of frames before strokes start appearing.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__start_delay
      • setStart_delay

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

        Field Documentation

        Blender Source Code

        For each pair of gp keys, number of frames before strokes start appearing.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__start_delay
      • getLength

        public float getLength()
                        throws java.io.IOException
        Get method for struct member 'length'.

        Field Documentation

        Blender Source Code

        For each pair of gp keys, number of frames that build effect must be completed within.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__length
      • setLength

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

        Field Documentation

        Blender Source Code

        For each pair of gp keys, number of frames that build effect must be completed within.

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

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

        Field Documentation

        Blender Source Code

        (eGpencilBuild_Flag) Options for controlling modifier behavior.

        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

        (eGpencilBuild_Flag) Options for controlling modifier behavior.

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

        public short getMode()
                      throws java.io.IOException
        Get method for struct member 'mode'.

        Field Documentation

        Blender Source Code

        (eGpencilBuild_Mode) How are strokes ordered.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__mode
      • setMode

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

        Field Documentation

        Blender Source Code

        (eGpencilBuild_Mode) How are strokes ordered.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__mode
      • getTransition

        public short getTransition()
                            throws java.io.IOException
        Get method for struct member 'transition'.

        Field Documentation

        Blender Source Code

        (eGpencilBuild_Transition) In what order do stroke points appear/disappear.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__transition
      • setTransition

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

        Field Documentation

        Blender Source Code

        (eGpencilBuild_Transition) In what order do stroke points appear/disappear.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__transition
      • getTime_alignment

        public short getTime_alignment()
                                throws java.io.IOException
        Get method for struct member 'time_alignment'.

        Field Documentation

        Blender Source Code

        (eGpencilBuild_TimeAlignment) For the "Concurrent" mode, when should "shorter" strips start/end.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__time_alignment
      • setTime_alignment

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

        Field Documentation

        Blender Source Code

        (eGpencilBuild_TimeAlignment) For the "Concurrent" mode, when should "shorter" strips start/end.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__time_alignment