Class LineStyleGeometryModifier_2DTransform


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

    Class Documentation

    • Field Detail

      • __DNA__SDNA_INDEX

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

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

        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_2DTransform linestylegeometrymodifier_2dtransform = ...;
         CPointer<Object> p = linestylegeometrymodifier_2dtransform.__dna__addressof(LineStyleGeometryModifier_2DTransform.__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__pivot

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

        Field Documentation

        Blender Python API

        Pivot of scaling and rotation operations

        Pointer Arithmetics

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

         LineStyleGeometryModifier_2DTransform linestylegeometrymodifier_2dtransform = ...;
         CPointer<Object> p = linestylegeometrymodifier_2dtransform.__dna__addressof(LineStyleGeometryModifier_2DTransform.__DNA__FIELD__pivot);
         CPointer<Integer> p_pivot = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'pivot'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__scale_x

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

        Field Documentation

        Blender Python API

        Scaling factor that is applied along the X axis

        Pointer Arithmetics

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

         LineStyleGeometryModifier_2DTransform linestylegeometrymodifier_2dtransform = ...;
         CPointer<Object> p = linestylegeometrymodifier_2dtransform.__dna__addressof(LineStyleGeometryModifier_2DTransform.__DNA__FIELD__scale_x);
         CPointer<Float> p_scale_x = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'scale_x'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__scale_y

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

        Field Documentation

        Blender Python API

        Scaling factor that is applied along the Y axis

        Pointer Arithmetics

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

         LineStyleGeometryModifier_2DTransform linestylegeometrymodifier_2dtransform = ...;
         CPointer<Object> p = linestylegeometrymodifier_2dtransform.__dna__addressof(LineStyleGeometryModifier_2DTransform.__DNA__FIELD__scale_y);
         CPointer<Float> p_scale_y = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'scale_y'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__angle

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

        Field Documentation

        Blender Python API

        Rotation angle

        Blender Source Code

        In radians.

        Pointer Arithmetics

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

         LineStyleGeometryModifier_2DTransform linestylegeometrymodifier_2dtransform = ...;
         CPointer<Object> p = linestylegeometrymodifier_2dtransform.__dna__addressof(LineStyleGeometryModifier_2DTransform.__DNA__FIELD__angle);
         CPointer<Float> p_angle = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'angle'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__pivot_u

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

        Field Documentation

        Blender Python API

        Pivot in terms of the stroke point parameter u (0 <= u <= 1)

        Pointer Arithmetics

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

         LineStyleGeometryModifier_2DTransform linestylegeometrymodifier_2dtransform = ...;
         CPointer<Object> p = linestylegeometrymodifier_2dtransform.__dna__addressof(LineStyleGeometryModifier_2DTransform.__DNA__FIELD__pivot_u);
         CPointer<Float> p_pivot_u = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'pivot_u'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__pivot_x

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

        Field Documentation

        Blender Python API

        2D X coordinate of the absolute pivot

        Pointer Arithmetics

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

         LineStyleGeometryModifier_2DTransform linestylegeometrymodifier_2dtransform = ...;
         CPointer<Object> p = linestylegeometrymodifier_2dtransform.__dna__addressof(LineStyleGeometryModifier_2DTransform.__DNA__FIELD__pivot_x);
         CPointer<Float> p_pivot_x = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'pivot_x'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__pivot_y

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

        Field Documentation

        Blender Python API

        2D Y coordinate of the absolute pivot

        Pointer Arithmetics

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

         LineStyleGeometryModifier_2DTransform linestylegeometrymodifier_2dtransform = ...;
         CPointer<Object> p = linestylegeometrymodifier_2dtransform.__dna__addressof(LineStyleGeometryModifier_2DTransform.__DNA__FIELD__pivot_y);
         CPointer<Float> p_pivot_y = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'pivot_y'
        • 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:

         LineStyleGeometryModifier_2DTransform linestylegeometrymodifier_2dtransform = ...;
         CPointer<Object> p = linestylegeometrymodifier_2dtransform.__dna__addressof(LineStyleGeometryModifier_2DTransform.__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

      • LineStyleGeometryModifier_2DTransform

        public LineStyleGeometryModifier_2DTransform​(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
      • getPivot

        public int getPivot()
                     throws java.io.IOException
        Get method for struct member 'pivot'.

        Field Documentation

        Blender Python API

        Pivot of scaling and rotation operations
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__pivot
      • setPivot

        public void setPivot​(int pivot)
                      throws java.io.IOException
        Set method for struct member 'pivot'.

        Field Documentation

        Blender Python API

        Pivot of scaling and rotation operations
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__pivot
      • getScale_x

        public float getScale_x()
                         throws java.io.IOException
        Get method for struct member 'scale_x'.

        Field Documentation

        Blender Python API

        Scaling factor that is applied along the X axis
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__scale_x
      • setScale_x

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

        Field Documentation

        Blender Python API

        Scaling factor that is applied along the X axis
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__scale_x
      • getScale_y

        public float getScale_y()
                         throws java.io.IOException
        Get method for struct member 'scale_y'.

        Field Documentation

        Blender Python API

        Scaling factor that is applied along the Y axis
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__scale_y
      • setScale_y

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

        Field Documentation

        Blender Python API

        Scaling factor that is applied along the Y axis
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__scale_y
      • getAngle

        public float getAngle()
                       throws java.io.IOException
        Get method for struct member 'angle'.

        Field Documentation

        Blender Python API

        Rotation angle

        Blender Source Code

        In radians.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__angle
      • setAngle

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

        Field Documentation

        Blender Python API

        Rotation angle

        Blender Source Code

        In radians.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__angle
      • getPivot_u

        public float getPivot_u()
                         throws java.io.IOException
        Get method for struct member 'pivot_u'.

        Field Documentation

        Blender Python API

        Pivot in terms of the stroke point parameter u (0 <= u <= 1)
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__pivot_u
      • setPivot_u

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

        Field Documentation

        Blender Python API

        Pivot in terms of the stroke point parameter u (0 <= u <= 1)
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__pivot_u
      • getPivot_x

        public float getPivot_x()
                         throws java.io.IOException
        Get method for struct member 'pivot_x'.

        Field Documentation

        Blender Python API

        2D X coordinate of the absolute pivot
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__pivot_x
      • setPivot_x

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

        Field Documentation

        Blender Python API

        2D X coordinate of the absolute pivot
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__pivot_x
      • getPivot_y

        public float getPivot_y()
                         throws java.io.IOException
        Get method for struct member 'pivot_y'.

        Field Documentation

        Blender Python API

        2D Y coordinate of the absolute pivot
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__pivot_y
      • setPivot_y

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

        Field Documentation

        Blender Python API

        2D Y coordinate of the absolute pivot
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__pivot_y
      • 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