Class SimplifyGpencilModifierData


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

    Class Documentation

    • Field Detail

      • __DNA__SDNA_INDEX

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

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

        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:

         SimplifyGpencilModifierData simplifygpencilmodifierdata = ...;
         CPointer<Object> p = simplifygpencilmodifierdata.__dna__addressof(SimplifyGpencilModifierData.__DNA__FIELD__modifier);
         CPointer<GpencilModifierData> p_modifier = p.cast(new Class[]{GpencilModifierData.class});
         

        Metadata

        • Field: 'modifier'
        • Signature: 'GpencilModifierData'
        • Actual Size (32bit/64bit): 92/104
      • __DNA__FIELD__material

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

        Field Documentation

        Blender Source Code

        Material for filtering.

        Pointer Arithmetics

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

         SimplifyGpencilModifierData simplifygpencilmodifierdata = ...;
         CPointer<Object> p = simplifygpencilmodifierdata.__dna__addressof(SimplifyGpencilModifierData.__DNA__FIELD__material);
         CPointer<CPointer<Material>> p_material = p.cast(new Class[]{CPointer.class, Material.class});
         

        Metadata

        • Field: 'material'
        • Signature: 'Material*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__layername

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

        Field Documentation

        Blender Source Code

        Layer name.

        Pointer Arithmetics

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

         SimplifyGpencilModifierData simplifygpencilmodifierdata = ...;
         CPointer<Object> p = simplifygpencilmodifierdata.__dna__addressof(SimplifyGpencilModifierData.__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__materialname

        public static final long[] __DNA__FIELD__materialname
        Deprecated.
        Deprecated

        Pointer Arithmetics

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

         SimplifyGpencilModifierData simplifygpencilmodifierdata = ...;
         CPointer<Object> p = simplifygpencilmodifierdata.__dna__addressof(SimplifyGpencilModifierData.__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
        Field descriptor (offset) for struct member 'materialname'.

        Field Documentation

        Blender Source Code

        Material name.

      • __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

        Custom index for passes.

        Pointer Arithmetics

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

         SimplifyGpencilModifierData simplifygpencilmodifierdata = ...;
         CPointer<Object> p = simplifygpencilmodifierdata.__dna__addressof(SimplifyGpencilModifierData.__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__flag

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

        Field Documentation

        Blender Source Code

        Flags.

        Pointer Arithmetics

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

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

        Metadata

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

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

        Field Documentation

        Blender Source Code

        Factor of simplify.

        Pointer Arithmetics

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

         SimplifyGpencilModifierData simplifygpencilmodifierdata = ...;
         CPointer<Object> p = simplifygpencilmodifierdata.__dna__addressof(SimplifyGpencilModifierData.__DNA__FIELD__factor);
         CPointer<Float> p_factor = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'factor'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__mode

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

        Field Documentation

        Blender Source Code

        Type of simplify.

        Pointer Arithmetics

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

         SimplifyGpencilModifierData simplifygpencilmodifierdata = ...;
         CPointer<Object> p = simplifygpencilmodifierdata.__dna__addressof(SimplifyGpencilModifierData.__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__step

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

        Field Documentation

        Blender Source Code

        Every n vertex to keep.

        Pointer Arithmetics

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

         SimplifyGpencilModifierData simplifygpencilmodifierdata = ...;
         CPointer<Object> p = simplifygpencilmodifierdata.__dna__addressof(SimplifyGpencilModifierData.__DNA__FIELD__step);
         CPointer<Short> p_step = p.cast(new Class[]{Short.class});
         

        Metadata

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

         SimplifyGpencilModifierData simplifygpencilmodifierdata = ...;
         CPointer<Object> p = simplifygpencilmodifierdata.__dna__addressof(SimplifyGpencilModifierData.__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__length

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

        Field Documentation

        Blender Source Code

        Sample length

        Pointer Arithmetics

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

         SimplifyGpencilModifierData simplifygpencilmodifierdata = ...;
         CPointer<Object> p = simplifygpencilmodifierdata.__dna__addressof(SimplifyGpencilModifierData.__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__sharp_threshold

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

        Field Documentation

        Blender Source Code

        Sample sharp threshold

        Pointer Arithmetics

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

         SimplifyGpencilModifierData simplifygpencilmodifierdata = ...;
         CPointer<Object> p = simplifygpencilmodifierdata.__dna__addressof(SimplifyGpencilModifierData.__DNA__FIELD__sharp_threshold);
         CPointer<Float> p_sharp_threshold = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'sharp_threshold'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__distance

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

        Field Documentation

        Blender Source Code

        Merge distance

        Pointer Arithmetics

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

         SimplifyGpencilModifierData simplifygpencilmodifierdata = ...;
         CPointer<Object> p = simplifygpencilmodifierdata.__dna__addressof(SimplifyGpencilModifierData.__DNA__FIELD__distance);
         CPointer<Float> p_distance = p.cast(new Class[]{Float.class});
         

        Metadata

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

      • SimplifyGpencilModifierData

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

      • getMaterial

        public CPointer<Material> getMaterial()
                                       throws java.io.IOException
        Get method for struct member 'material'.

        Field Documentation

        Blender Source Code

        Material for filtering.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__material
      • setMaterial

        public void setMaterial​(CPointer<Material> material)
                         throws java.io.IOException
        Set method for struct member 'material'.

        Field Documentation

        Blender Source Code

        Material for filtering.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__material
      • getLayername

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

        Field Documentation

        Blender Source Code

        Layer name.

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

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

        Field Documentation

        Blender Source Code

        Layer name.

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

        public CArrayFacade<java.lang.Byte> getMaterialname()
                                                     throws java.io.IOException
        Deprecated.
        Deprecated

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

        Set method for struct member 'materialname'.

        Field Documentation

        Blender Source Code

        Material name.

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

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

        Field Documentation

        Blender Source Code

        Custom index for passes.

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

        Field Documentation

        Blender Source Code

        Custom index for passes.

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

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

        Field Documentation

        Blender Source Code

        Flags.

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

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

        Field Documentation

        Blender Source Code

        Flags.

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

        public float getFactor()
                        throws java.io.IOException
        Get method for struct member 'factor'.

        Field Documentation

        Blender Source Code

        Factor of simplify.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__factor
      • setFactor

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

        Field Documentation

        Blender Source Code

        Factor of simplify.

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

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

        Field Documentation

        Blender Source Code

        Type of simplify.

        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

        Type of simplify.

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

        public short getStep()
                      throws java.io.IOException
        Get method for struct member 'step'.

        Field Documentation

        Blender Source Code

        Every n vertex to keep.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__step
      • setStep

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

        Field Documentation

        Blender Source Code

        Every n vertex to keep.

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

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

        Field Documentation

        Blender Source Code

        Sample length

        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

        Sample length

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

        public float getSharp_threshold()
                                 throws java.io.IOException
        Get method for struct member 'sharp_threshold'.

        Field Documentation

        Blender Source Code

        Sample sharp threshold

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__sharp_threshold
      • setSharp_threshold

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

        Field Documentation

        Blender Source Code

        Sample sharp threshold

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__sharp_threshold
      • getDistance

        public float getDistance()
                          throws java.io.IOException
        Get method for struct member 'distance'.

        Field Documentation

        Blender Source Code

        Merge distance

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__distance
      • setDistance

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

        Field Documentation

        Blender Source Code

        Merge distance

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__distance