Class LineStyleGeometryModifier_2DOffset


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

    Class Documentation

    • Field Detail

      • __DNA__SDNA_INDEX

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

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

        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:

         LineStyleGeometryModifier_2DOffset linestylegeometrymodifier_2doffset = ...;
         CPointer<Object> p = linestylegeometrymodifier_2doffset.__dna__addressof(LineStyleGeometryModifier_2DOffset.__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__start

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

        Field Documentation

        Blender Python API

        Displacement that is applied from the beginning of the stroke

        Pointer Arithmetics

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

         LineStyleGeometryModifier_2DOffset linestylegeometrymodifier_2doffset = ...;
         CPointer<Object> p = linestylegeometrymodifier_2doffset.__dna__addressof(LineStyleGeometryModifier_2DOffset.__DNA__FIELD__start);
         CPointer<Float> p_start = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'start'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__end

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

        Field Documentation

        Blender Python API

        Displacement that is applied from the end of the stroke

        Pointer Arithmetics

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

         LineStyleGeometryModifier_2DOffset linestylegeometrymodifier_2doffset = ...;
         CPointer<Object> p = linestylegeometrymodifier_2doffset.__dna__addressof(LineStyleGeometryModifier_2DOffset.__DNA__FIELD__end);
         CPointer<Float> p_end = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'end'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__x

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

        Field Documentation

        Blender Python API

        Displacement that is applied to the X coordinates of stroke vertices

        Pointer Arithmetics

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

         LineStyleGeometryModifier_2DOffset linestylegeometrymodifier_2doffset = ...;
         CPointer<Object> p = linestylegeometrymodifier_2doffset.__dna__addressof(LineStyleGeometryModifier_2DOffset.__DNA__FIELD__x);
         CPointer<Float> p_x = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'x'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__y

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

        Field Documentation

        Blender Python API

        Displacement that is applied to the Y coordinates of stroke vertices

        Pointer Arithmetics

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

         LineStyleGeometryModifier_2DOffset linestylegeometrymodifier_2doffset = ...;
         CPointer<Object> p = linestylegeometrymodifier_2doffset.__dna__addressof(LineStyleGeometryModifier_2DOffset.__DNA__FIELD__y);
         CPointer<Float> p_y = p.cast(new Class[]{Float.class});
         

        Metadata

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

      • LineStyleGeometryModifier_2DOffset

        public LineStyleGeometryModifier_2DOffset​(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
      • getStart

        public float getStart()
                       throws java.io.IOException
        Get method for struct member 'start'.

        Field Documentation

        Blender Python API

        Displacement that is applied from the beginning of the stroke
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__start
      • setStart

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

        Field Documentation

        Blender Python API

        Displacement that is applied from the beginning of the stroke
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__start
      • getEnd

        public float getEnd()
                     throws java.io.IOException
        Get method for struct member 'end'.

        Field Documentation

        Blender Python API

        Displacement that is applied from the end of the stroke
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__end
      • setEnd

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

        Field Documentation

        Blender Python API

        Displacement that is applied from the end of the stroke
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__end
      • getX

        public float getX()
                   throws java.io.IOException
        Get method for struct member 'x'.

        Field Documentation

        Blender Python API

        Displacement that is applied to the X coordinates of stroke vertices
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__x
      • setX

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

        Field Documentation

        Blender Python API

        Displacement that is applied to the X coordinates of stroke vertices
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__x
      • getY

        public float getY()
                   throws java.io.IOException
        Get method for struct member 'y'.

        Field Documentation

        Blender Python API

        Displacement that is applied to the Y coordinates of stroke vertices
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__y
      • setY

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

        Field Documentation

        Blender Python API

        Displacement that is applied to the Y coordinates of stroke vertices
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__y