Class LineStyleThicknessModifier_DistanceFromObject


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

    Class Documentation

    • Field Detail

      • __DNA__SDNA_INDEX

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

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

        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:

         LineStyleThicknessModifier_DistanceFromObject linestylethicknessmodifier_distancefromobject = ...;
         CPointer<Object> p = linestylethicknessmodifier_distancefromobject.__dna__addressof(LineStyleThicknessModifier_DistanceFromObject.__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__target

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

        Field Documentation

        Blender Python API

        Target object from which the distance is measured

        Pointer Arithmetics

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

         LineStyleThicknessModifier_DistanceFromObject linestylethicknessmodifier_distancefromobject = ...;
         CPointer<Object> p = linestylethicknessmodifier_distancefromobject.__dna__addressof(LineStyleThicknessModifier_DistanceFromObject.__DNA__FIELD__target);
         CPointer<CPointer<BlenderObject>> p_target = p.cast(new Class[]{CPointer.class, BlenderObject.class});
         

        Metadata

        • Field: 'target'
        • Signature: 'Object*'
        • Actual Size (32bit/64bit): 4/8
      • __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:

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

         LineStyleThicknessModifier_DistanceFromObject linestylethicknessmodifier_distancefromobject = ...;
         CPointer<Object> p = linestylethicknessmodifier_distancefromobject.__dna__addressof(LineStyleThicknessModifier_DistanceFromObject.__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__range_min

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

        Field Documentation

        Blender Python API

        Lower bound of the input range the mapping is applied

        Pointer Arithmetics

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

         LineStyleThicknessModifier_DistanceFromObject linestylethicknessmodifier_distancefromobject = ...;
         CPointer<Object> p = linestylethicknessmodifier_distancefromobject.__dna__addressof(LineStyleThicknessModifier_DistanceFromObject.__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'.

        Field Documentation

        Blender Python API

        Upper bound of the input range the mapping is applied

        Pointer Arithmetics

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

         LineStyleThicknessModifier_DistanceFromObject linestylethicknessmodifier_distancefromobject = ...;
         CPointer<Object> p = linestylethicknessmodifier_distancefromobject.__dna__addressof(LineStyleThicknessModifier_DistanceFromObject.__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
      • __DNA__FIELD__value_min

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

        Field Documentation

        Blender Python API

        Minimum output value of the mapping

        Pointer Arithmetics

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

         LineStyleThicknessModifier_DistanceFromObject linestylethicknessmodifier_distancefromobject = ...;
         CPointer<Object> p = linestylethicknessmodifier_distancefromobject.__dna__addressof(LineStyleThicknessModifier_DistanceFromObject.__DNA__FIELD__value_min);
         CPointer<Float> p_value_min = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'value_min'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__value_max

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

        Field Documentation

        Blender Python API

        Maximum output value of the mapping

        Pointer Arithmetics

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

         LineStyleThicknessModifier_DistanceFromObject linestylethicknessmodifier_distancefromobject = ...;
         CPointer<Object> p = linestylethicknessmodifier_distancefromobject.__dna__addressof(LineStyleThicknessModifier_DistanceFromObject.__DNA__FIELD__value_max);
         CPointer<Float> p_value_max = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'value_max'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD___pad

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

        Pointer Arithmetics

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

         LineStyleThicknessModifier_DistanceFromObject linestylethicknessmodifier_distancefromobject = ...;
         CPointer<Object> p = linestylethicknessmodifier_distancefromobject.__dna__addressof(LineStyleThicknessModifier_DistanceFromObject.__DNA__FIELD___pad);
         CPointer<CArrayFacade<Byte>> p__pad = p.cast(new Class[]{CArrayFacade.class, Byte.class});
         

        Metadata

        • Field: '_pad'
        • Signature: 'char[4]'
        • Actual Size (32bit/64bit): 4/4
    • Constructor Detail

      • LineStyleThicknessModifier_DistanceFromObject

        public LineStyleThicknessModifier_DistanceFromObject​(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
      • getTarget

        public CPointer<BlenderObject> getTarget()
                                          throws java.io.IOException
        Get method for struct member 'target'.

        Field Documentation

        Blender Python API

        Target object from which the distance is measured
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__target
      • setTarget

        public void setTarget​(CPointer<BlenderObject> target)
                       throws java.io.IOException
        Set method for struct member 'target'.

        Field Documentation

        Blender Python API

        Target object from which the distance is measured
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__target
      • 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
      • getRange_min

        public float getRange_min()
                           throws java.io.IOException
        Get method for struct member 'range_min'.

        Field Documentation

        Blender Python API

        Lower bound of the input range the mapping is applied
        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'.

        Field Documentation

        Blender Python API

        Lower bound of the input range the mapping is applied
        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'.

        Field Documentation

        Blender Python API

        Upper bound of the input range the mapping is applied
        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'.

        Field Documentation

        Blender Python API

        Upper bound of the input range the mapping is applied
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__range_max
      • getValue_min

        public float getValue_min()
                           throws java.io.IOException
        Get method for struct member 'value_min'.

        Field Documentation

        Blender Python API

        Minimum output value of the mapping
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__value_min
      • setValue_min

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

        Field Documentation

        Blender Python API

        Minimum output value of the mapping
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__value_min
      • getValue_max

        public float getValue_max()
                           throws java.io.IOException
        Get method for struct member 'value_max'.

        Field Documentation

        Blender Python API

        Maximum output value of the mapping
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__value_max
      • setValue_max

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

        Field Documentation

        Blender Python API

        Maximum output value of the mapping
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__value_max
      • get_pad

        public CArrayFacade<java.lang.Byte> get_pad()
                                             throws java.io.IOException
        Get method for struct member '_pad'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD___pad
      • set_pad

        public void set_pad​(CArrayFacade<java.lang.Byte> _pad)
                     throws java.io.IOException
        Set method for struct member '_pad'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD___pad