Class LineStyleAlphaModifier_Material


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

    Class Documentation

    • Field Detail

      • __DNA__SDNA_INDEX

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

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

        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:

         LineStyleAlphaModifier_Material linestylealphamodifier_material = ...;
         CPointer<Object> p = linestylealphamodifier_material.__dna__addressof(LineStyleAlphaModifier_Material.__DNA__FIELD__modifier);
         CPointer<LineStyleModifier> p_modifier = p.cast(new Class[]{LineStyleModifier.class});
         

        Metadata

        • Field: 'modifier'
        • Signature: 'LineStyleModifier'
        • Actual Size (32bit/64bit): 88/96
      • __DNA__FIELD__curve

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

        Field Documentation

        Blender Python API

        (read-only) Curve used for the curve mapping

        Pointer Arithmetics

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

         LineStyleAlphaModifier_Material linestylealphamodifier_material = ...;
         CPointer<Object> p = linestylealphamodifier_material.__dna__addressof(LineStyleAlphaModifier_Material.__DNA__FIELD__curve);
         CPointer<CPointer<CurveMapping>> p_curve = p.cast(new Class[]{CPointer.class, CurveMapping.class});
         

        Metadata

        • Field: 'curve'
        • Signature: 'CurveMapping*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__flags

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

        Pointer Arithmetics

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

         LineStyleAlphaModifier_Material linestylealphamodifier_material = ...;
         CPointer<Object> p = linestylealphamodifier_material.__dna__addressof(LineStyleAlphaModifier_Material.__DNA__FIELD__flags);
         CPointer<Integer> p_flags = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'flags'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__mat_attr

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

        Pointer Arithmetics

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

         LineStyleAlphaModifier_Material linestylealphamodifier_material = ...;
         CPointer<Object> p = linestylealphamodifier_material.__dna__addressof(LineStyleAlphaModifier_Material.__DNA__FIELD__mat_attr);
         CPointer<Integer> p_mat_attr = p.cast(new Class[]{Integer.class});
         

        Metadata

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

      • LineStyleAlphaModifier_Material

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

      • setModifier

        public void setModifier​(LineStyleModifier modifier)
                         throws java.io.IOException
        Set method for struct member 'modifier'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__modifier
      • getCurve

        public CPointer<CurveMapping> getCurve()
                                        throws java.io.IOException
        Get method for struct member 'curve'.

        Field Documentation

        Blender Python API

        (read-only) Curve used for the curve mapping
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__curve
      • setCurve

        public void setCurve​(CPointer<CurveMapping> curve)
                      throws java.io.IOException
        Set method for struct member 'curve'.

        Field Documentation

        Blender Python API

        (read-only) Curve used for the curve mapping
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__curve
      • getFlags

        public int getFlags()
                     throws java.io.IOException
        Get method for struct member 'flags'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__flags
      • setFlags

        public void setFlags​(int flags)
                      throws java.io.IOException
        Set method for struct member 'flags'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__flags
      • getMat_attr

        public int getMat_attr()
                        throws java.io.IOException
        Get method for struct member 'mat_attr'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__mat_attr
      • setMat_attr

        public void setMat_attr​(int mat_attr)
                         throws java.io.IOException
        Set method for struct member 'mat_attr'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__mat_attr