Class OffsetGpencilModifierData


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

    Class Documentation

    • Field Detail

      • __DNA__SDNA_INDEX

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

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

        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:

         OffsetGpencilModifierData offsetgpencilmodifierdata = ...;
         CPointer<Object> p = offsetgpencilmodifierdata.__dna__addressof(OffsetGpencilModifierData.__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:

         OffsetGpencilModifierData offsetgpencilmodifierdata = ...;
         CPointer<Object> p = offsetgpencilmodifierdata.__dna__addressof(OffsetGpencilModifierData.__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:

         OffsetGpencilModifierData offsetgpencilmodifierdata = ...;
         CPointer<Object> p = offsetgpencilmodifierdata.__dna__addressof(OffsetGpencilModifierData.__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:

         OffsetGpencilModifierData offsetgpencilmodifierdata = ...;
         CPointer<Object> p = offsetgpencilmodifierdata.__dna__addressof(OffsetGpencilModifierData.__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__vgname

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

        Field Documentation

        Blender Source Code

        Optional vertexgroup name, MAX_VGROUP_NAME.

        Pointer Arithmetics

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

         OffsetGpencilModifierData offsetgpencilmodifierdata = ...;
         CPointer<Object> p = offsetgpencilmodifierdata.__dna__addressof(OffsetGpencilModifierData.__DNA__FIELD__vgname);
         CPointer<CArrayFacade<Byte>> p_vgname = p.cast(new Class[]{CArrayFacade.class, Byte.class});
         

        Metadata

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

        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:

         OffsetGpencilModifierData offsetgpencilmodifierdata = ...;
         CPointer<Object> p = offsetgpencilmodifierdata.__dna__addressof(OffsetGpencilModifierData.__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:

         OffsetGpencilModifierData offsetgpencilmodifierdata = ...;
         CPointer<Object> p = offsetgpencilmodifierdata.__dna__addressof(OffsetGpencilModifierData.__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__loc

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

        Pointer Arithmetics

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

         OffsetGpencilModifierData offsetgpencilmodifierdata = ...;
         CPointer<Object> p = offsetgpencilmodifierdata.__dna__addressof(OffsetGpencilModifierData.__DNA__FIELD__loc);
         CPointer<CArrayFacade<Float>> p_loc = p.cast(new Class[]{CArrayFacade.class, Float.class});
         

        Metadata

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

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

        Pointer Arithmetics

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

         OffsetGpencilModifierData offsetgpencilmodifierdata = ...;
         CPointer<Object> p = offsetgpencilmodifierdata.__dna__addressof(OffsetGpencilModifierData.__DNA__FIELD__rot);
         CPointer<CArrayFacade<Float>> p_rot = p.cast(new Class[]{CArrayFacade.class, Float.class});
         

        Metadata

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

         OffsetGpencilModifierData offsetgpencilmodifierdata = ...;
         CPointer<Object> p = offsetgpencilmodifierdata.__dna__addressof(OffsetGpencilModifierData.__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__rnd_offset

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

        Field Documentation

        Blender Source Code

        Random Offset.

        Pointer Arithmetics

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

         OffsetGpencilModifierData offsetgpencilmodifierdata = ...;
         CPointer<Object> p = offsetgpencilmodifierdata.__dna__addressof(OffsetGpencilModifierData.__DNA__FIELD__rnd_offset);
         CPointer<CArrayFacade<Float>> p_rnd_offset = p.cast(new Class[]{CArrayFacade.class, Float.class});
         

        Metadata

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

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

        Field Documentation

        Blender Source Code

        Random Rotation.

        Pointer Arithmetics

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

         OffsetGpencilModifierData offsetgpencilmodifierdata = ...;
         CPointer<Object> p = offsetgpencilmodifierdata.__dna__addressof(OffsetGpencilModifierData.__DNA__FIELD__rnd_rot);
         CPointer<CArrayFacade<Float>> p_rnd_rot = p.cast(new Class[]{CArrayFacade.class, Float.class});
         

        Metadata

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

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

        Field Documentation

        Blender Source Code

        Random Scales.

        Pointer Arithmetics

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

         OffsetGpencilModifierData offsetgpencilmodifierdata = ...;
         CPointer<Object> p = offsetgpencilmodifierdata.__dna__addressof(OffsetGpencilModifierData.__DNA__FIELD__rnd_scale);
         CPointer<CArrayFacade<Float>> p_rnd_scale = p.cast(new Class[]{CArrayFacade.class, Float.class});
         

        Metadata

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

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

        Field Documentation

        Blender Source Code

        (first element is the index) random values.

        Pointer Arithmetics

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

         OffsetGpencilModifierData offsetgpencilmodifierdata = ...;
         CPointer<Object> p = offsetgpencilmodifierdata.__dna__addressof(OffsetGpencilModifierData.__DNA__FIELD__seed);
         CPointer<Integer> p_seed = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'seed'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __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:

         OffsetGpencilModifierData offsetgpencilmodifierdata = ...;
         CPointer<Object> p = offsetgpencilmodifierdata.__dna__addressof(OffsetGpencilModifierData.__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
    • Constructor Detail

      • OffsetGpencilModifierData

        public OffsetGpencilModifierData​(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
      • getVgname

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

        Field Documentation

        Blender Source Code

        Optional vertexgroup name, MAX_VGROUP_NAME.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__vgname
      • setVgname

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

        Field Documentation

        Blender Source Code

        Optional vertexgroup name, MAX_VGROUP_NAME.

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

        public CArrayFacade<java.lang.Float> getLoc()
                                             throws java.io.IOException
        Get method for struct member 'loc'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__loc
      • setLoc

        public void setLoc​(CArrayFacade<java.lang.Float> loc)
                    throws java.io.IOException
        Set method for struct member 'loc'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__loc
      • getRot

        public CArrayFacade<java.lang.Float> getRot()
                                             throws java.io.IOException
        Get method for struct member 'rot'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__rot
      • setRot

        public void setRot​(CArrayFacade<java.lang.Float> rot)
                    throws java.io.IOException
        Set method for struct member 'rot'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__rot
      • 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
      • getRnd_offset

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

        Field Documentation

        Blender Source Code

        Random Offset.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__rnd_offset
      • setRnd_offset

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

        Field Documentation

        Blender Source Code

        Random Offset.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__rnd_offset
      • getRnd_rot

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

        Field Documentation

        Blender Source Code

        Random Rotation.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__rnd_rot
      • setRnd_rot

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

        Field Documentation

        Blender Source Code

        Random Rotation.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__rnd_rot
      • getRnd_scale

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

        Field Documentation

        Blender Source Code

        Random Scales.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__rnd_scale
      • setRnd_scale

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

        Field Documentation

        Blender Source Code

        Random Scales.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__rnd_scale
      • getSeed

        public int getSeed()
                    throws java.io.IOException
        Get method for struct member 'seed'.

        Field Documentation

        Blender Source Code

        (first element is the index) random values.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__seed
      • setSeed

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

        Field Documentation

        Blender Source Code

        (first element is the index) random values.

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