Class LineStyleAlphaModifier_DistanceFromObject


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

    Class Documentation

    • Field Detail

      • __DNA__SDNA_INDEX

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

        It is required when allocating a new block to store data for LineStyleAlphaModifier_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:

         LineStyleAlphaModifier_DistanceFromObject linestylealphamodifier_distancefromobject = ...;
         CPointer<Object> p = linestylealphamodifier_distancefromobject.__dna__addressof(LineStyleAlphaModifier_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:

         LineStyleAlphaModifier_DistanceFromObject linestylealphamodifier_distancefromobject = ...;
         CPointer<Object> p = linestylealphamodifier_distancefromobject.__dna__addressof(LineStyleAlphaModifier_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:

         LineStyleAlphaModifier_DistanceFromObject linestylealphamodifier_distancefromobject = ...;
         CPointer<Object> p = linestylealphamodifier_distancefromobject.__dna__addressof(LineStyleAlphaModifier_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:

         LineStyleAlphaModifier_DistanceFromObject linestylealphamodifier_distancefromobject = ...;
         CPointer<Object> p = linestylealphamodifier_distancefromobject.__dna__addressof(LineStyleAlphaModifier_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:

         LineStyleAlphaModifier_DistanceFromObject linestylealphamodifier_distancefromobject = ...;
         CPointer<Object> p = linestylealphamodifier_distancefromobject.__dna__addressof(LineStyleAlphaModifier_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:

         LineStyleAlphaModifier_DistanceFromObject linestylealphamodifier_distancefromobject = ...;
         CPointer<Object> p = linestylealphamodifier_distancefromobject.__dna__addressof(LineStyleAlphaModifier_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___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:

         LineStyleAlphaModifier_DistanceFromObject linestylealphamodifier_distancefromobject = ...;
         CPointer<Object> p = linestylealphamodifier_distancefromobject.__dna__addressof(LineStyleAlphaModifier_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

      • LineStyleAlphaModifier_DistanceFromObject

        public LineStyleAlphaModifier_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
      • 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