Class LineStyleColorModifier_Curvature_3D


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

    Class Documentation

    Blender Source Code

    3D curvature modifiers

    • Field Detail

      • __DNA__SDNA_INDEX

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

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

        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:

         LineStyleColorModifier_Curvature_3D linestylecolormodifier_curvature_3d = ...;
         CPointer<Object> p = linestylecolormodifier_curvature_3d.__dna__addressof(LineStyleColorModifier_Curvature_3D.__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__min_curvature

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

        Pointer Arithmetics

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

         LineStyleColorModifier_Curvature_3D linestylecolormodifier_curvature_3d = ...;
         CPointer<Object> p = linestylecolormodifier_curvature_3d.__dna__addressof(LineStyleColorModifier_Curvature_3D.__DNA__FIELD__min_curvature);
         CPointer<Float> p_min_curvature = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'min_curvature'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__max_curvature

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

        Pointer Arithmetics

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

         LineStyleColorModifier_Curvature_3D linestylecolormodifier_curvature_3d = ...;
         CPointer<Object> p = linestylecolormodifier_curvature_3d.__dna__addressof(LineStyleColorModifier_Curvature_3D.__DNA__FIELD__max_curvature);
         CPointer<Float> p_max_curvature = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'max_curvature'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__color_ramp

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

        Field Documentation

        Blender Python API

        (read-only) Color ramp used to change line color

        Pointer Arithmetics

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

         LineStyleColorModifier_Curvature_3D linestylecolormodifier_curvature_3d = ...;
         CPointer<Object> p = linestylecolormodifier_curvature_3d.__dna__addressof(LineStyleColorModifier_Curvature_3D.__DNA__FIELD__color_ramp);
         CPointer<CPointer<ColorBand>> p_color_ramp = p.cast(new Class[]{CPointer.class, ColorBand.class});
         

        Metadata

        • Field: 'color_ramp'
        • Signature: 'ColorBand*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__range_min

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

        Pointer Arithmetics

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

         LineStyleColorModifier_Curvature_3D linestylecolormodifier_curvature_3d = ...;
         CPointer<Object> p = linestylecolormodifier_curvature_3d.__dna__addressof(LineStyleColorModifier_Curvature_3D.__DNA__FIELD__range_min);
         CPointer<Float> p_range_min = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'range_min'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__range_max

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

        Pointer Arithmetics

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

         LineStyleColorModifier_Curvature_3D linestylecolormodifier_curvature_3d = ...;
         CPointer<Object> p = linestylecolormodifier_curvature_3d.__dna__addressof(LineStyleColorModifier_Curvature_3D.__DNA__FIELD__range_max);
         CPointer<Float> p_range_max = p.cast(new Class[]{Float.class});
         

        Metadata

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

      • LineStyleColorModifier_Curvature_3D

        public LineStyleColorModifier_Curvature_3D​(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
      • getMin_curvature

        public float getMin_curvature()
                               throws java.io.IOException
        Get method for struct member 'min_curvature'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__min_curvature
      • setMin_curvature

        public void setMin_curvature​(float min_curvature)
                              throws java.io.IOException
        Set method for struct member 'min_curvature'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__min_curvature
      • getMax_curvature

        public float getMax_curvature()
                               throws java.io.IOException
        Get method for struct member 'max_curvature'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__max_curvature
      • setMax_curvature

        public void setMax_curvature​(float max_curvature)
                              throws java.io.IOException
        Set method for struct member 'max_curvature'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__max_curvature
      • getColor_ramp

        public CPointer<ColorBand> getColor_ramp()
                                          throws java.io.IOException
        Get method for struct member 'color_ramp'.

        Field Documentation

        Blender Python API

        (read-only) Color ramp used to change line color
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__color_ramp
      • setColor_ramp

        public void setColor_ramp​(CPointer<ColorBand> color_ramp)
                           throws java.io.IOException
        Set method for struct member 'color_ramp'.

        Field Documentation

        Blender Python API

        (read-only) Color ramp used to change line color
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__color_ramp
      • getRange_min

        public float getRange_min()
                           throws java.io.IOException
        Get method for struct member 'range_min'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__range_min
      • setRange_min

        public void setRange_min​(float range_min)
                          throws java.io.IOException
        Set method for struct member 'range_min'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__range_min
      • getRange_max

        public float getRange_max()
                           throws java.io.IOException
        Get method for struct member 'range_max'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__range_max
      • setRange_max

        public void setRange_max​(float range_max)
                          throws java.io.IOException
        Set method for struct member 'range_max'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__range_max